diff options
author | Enrico Granata <egranata@apple.com> | 2015-06-15 23:12:29 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-06-15 23:12:29 +0000 |
commit | 3ab6669eeb64edfe31959cf65d8b27dda1ed931f (patch) | |
tree | 456bf30f434e547e54186c7615b039851339a40d /llvm/unittests/IR/MetadataTest.cpp | |
parent | 8e7a58d7ccfc254a30b582e536e9c3dc583dd8e2 (diff) | |
download | llvm-3ab6669eeb64edfe31959cf65d8b27dda1ed931f.zip llvm-3ab6669eeb64edfe31959cf65d8b27dda1ed931f.tar.gz llvm-3ab6669eeb64edfe31959cf65d8b27dda1ed931f.tar.bz2 |
If a candidate keyword contains quotes, it's clearly not a keyword, so bail out early
There are other characters we could optimize for (any non-letter pretty much), but keyword.iskeyword() will handle them, whereas quotes do have the potential to confuse us, so they actually need custom handling
Fixes rdar://problem/21022787
llvm-svn: 239779
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
0 files changed, 0 insertions, 0 deletions