diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-08-25 16:44:38 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-08-25 16:44:38 +0000 |
commit | a94e7b6acf15afbac93181f49cf23b9a3cea3df5 (patch) | |
tree | ce730f7f2ab148fda714818a163a4bebac868929 /llvm/lib | |
parent | edae87d819c21c0051c045a94ae188f8547e897c (diff) | |
download | bcm5719-llvm-a94e7b6acf15afbac93181f49cf23b9a3cea3df5.tar.gz bcm5719-llvm-a94e7b6acf15afbac93181f49cf23b9a3cea3df5.zip |
[Sema] Handle leading and trailing __ for GNU attributes
GNU attributes can have a leading and trailing __ appended/prepended to
the attribute name. While the parser and AttributeList::getKind did the
right thing, AttributeList::getAttributeSpellingListIndex did not.
This fixes PR24565.
llvm-svn: 245953
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions