Displaying 3 results from an estimated 3 matches for "parsed_attr".
Did you mean:
parse_attr
2016 Oct 25
2
[Help] Add custom pragma
...I've tried to find where the definitions
for AT_LoopHint, AT_FallThrough are done. This is what I found.
class AttributeList @ tools/clang/include/clang/Sema/AttributeList.h
enum Kind{
#define PARSED ATTR(NAME) AT_##NAME,
#include "clang/Sema/AttrParsedAttrList.inc"
#undef PARSED_ATTR
IgnoredAttribute,
UnkownAttribute
};
It looks like those are defined at this enum, but there's no such file,
"clang/Sema/AttrParsedAttrList.inc".
Anyone knows how those definitions are defined and how the kind of
attributes are decided?
Thank you for your valuable time!
--
B...
2016 Oct 25
2
[Help] Add custom pragma
...llThrough are done. This is what I found.
> >
> > class AttributeList @ tools/clang/include/clang/Sema/AttributeList.h
> >
> > enum Kind{
> > #define PARSED ATTR(NAME) AT_##NAME,
> > #include "clang/Sema/AttrParsedAttrList.inc"
> > #undef PARSED_ATTR
> > IgnoredAttribute,
> > UnkownAttribute
> > };
> >
> > It looks like those are defined at this enum, but there's no such file,
> "clang/Sema/AttrParsedAttrList.inc".
> >
> > Anyone knows how those definitions are defined and how the...
2016 Oct 25
0
[Help] Add custom pragma
...llThrough are done. This is what I found.
> >
> > class AttributeList @ tools/clang/include/clang/Sema/AttributeList.h
> >
> > enum Kind{
> > #define PARSED ATTR(NAME) AT_##NAME,
> > #include "clang/Sema/AttrParsedAttrList.inc"
> > #undef PARSED_ATTR
> > IgnoredAttribute,
> > UnkownAttribute
> > };
> >
> > It looks like those are defined at this enum, but there's no such file, "clang/Sema/AttrParsedAttrList.inc".
> >
> > Anyone knows how those definitions are defined and how the kind...