[ARM64] Fix a heap-use-after-free spotted by ASan.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 30 Mar 2014 09:08:07 +0000 (09:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 30 Mar 2014 09:08:07 +0000 (09:08 +0000)
commit1f408b1474188dfd1d234ade9ec8e5cbec000459
tree18873fc1a9e9b9ec46f32c66ecf0712388e5d83f
parentbcf0c5fd73070ad16bcf652d22999ddba71e863d
[ARM64] Fix a heap-use-after-free spotted by ASan.

StringRef::lower() returns a std::string. Better yet, we can now stop
thinking about what it returns and write 'auto'. It does the right
thing. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp