Displaying 1 result from an estimated 1 matches for "clang_attr_identifier_arg_list".
2015 Aug 10
2
Clang attributes issue
...o 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 selection of proper attribute:
GNU::aligned, CXX11::aligned or CXX11:: _Foo_attrs::aligned.
The simplest way to resolve the issue is to change the new attribute name
but why sh...