]> granicus.if.org Git - clang/commit
The semantic spelling enumeration should retain values to the spelling list indexes...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 10 Mar 2015 17:19:18 +0000 (17:19 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 10 Mar 2015 17:19:18 +0000 (17:19 +0000)
commit91f2b9ec1e248203f32ab08735837145a9a19417
treef104f4c140258203f20c99b2784433d1700355fe
parenta283317accbab76cb811ffda01dcf0aecbc21e42
The semantic spelling enumeration should retain values to the spelling list indexes used by the attribute. The only attribute affected by this in practice is the OpenCLImageAccessAttr, which has duplicate semantic spellings that are automatically stripped.

We do not implicitly create an OpenCLImageAccessAttr, so this change only affects out of tree users. There is no way to test this behavior specifically that I can see, since this only affects implicit creation of attributes.

Fixes PR22403.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231803 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/ClangAttrEmitter.cpp