Displaying 1 result from an estimated 1 matches for "attrparserstringswitch".
Did you mean:
attrparserstringswitches
2015 Aug 10
2
Clang attributes issue
...d namespace like here:
def FooAligned : InheritableAttr {
let Spellings = [CXX11<"_Foo_attrs", "aligned">];
….
But I was not able to do it because name “aligned” was used in another
well-known attribute. After some research I found that the problem was in
file “AttrParserStringSwitches.inc” generated by TableGen. Its content was
unaware about namespaces. As result my new “aligned” attribute was
mentioned like here:
#if defined(CLANG_ATTR_IDENTIFIER_ARG_LIST)
….
.Case("aligned", true)
….
#endif // CLANG_ATTR_IDENTIFIER_ARG_LIST
and there was real ambiguity in...