search for: unknownattribute

Displaying 3 results from an estimated 3 matches for "unknownattribute".

Did you mean: unknown_attribute
2016 Oct 25
2
[Help] Add custom pragma
...e for loop unroll pragma gets serviced at ProcessSmtAttrbute Function @ tools/clang/lib/Sema/SemaStmtAttr.cpp. It contains switch statement like below. ProcessSmtAttrbute @ tools/clang/lib/Sema/SemaStmtAttr.cpp // A : AttributeList - passed by argument switch( A.getKind() ) { case AttributeList::UnknownAttribute: ~ case AttributeList::AT_FallThrough: return ~ case AttributeList::AT_LoopHint: return handleLoopHintAttr( ~ ) case AttributeList::AT_OpenCLUnrollHint: ~ ... } As I want to define new attribute, I've tried to find where the definitions for AT_LoopHint, AT_FallThrough are...
2016 Oct 25
2
[Help] Add custom pragma
...e Function @ tools/clang/lib/Sema/SemaStmtAttr.cpp. > > It contains switch statement like below. > > > > ProcessSmtAttrbute @ tools/clang/lib/Sema/SemaStmtAttr.cpp > > // A : AttributeList - passed by argument > > switch( A.getKind() ) { > > case AttributeList::UnknownAttribute: > > ~ > > case AttributeList::AT_FallThrough: > > return ~ > > case AttributeList::AT_LoopHint: > > return handleLoopHintAttr( ~ ) > > case AttributeList::AT_OpenCLUnrollHint: > > ~ > > ... > > } > > > > As I w...
2016 Oct 25
0
[Help] Add custom pragma
...e Function @ tools/clang/lib/Sema/SemaStmtAttr.cpp. > > It contains switch statement like below. > > > > ProcessSmtAttrbute @ tools/clang/lib/Sema/SemaStmtAttr.cpp > > // A : AttributeList - passed by argument > > switch( A.getKind() ) { > > case AttributeList::UnknownAttribute: > > ~ > > case AttributeList::AT_FallThrough: > > return ~ > > case AttributeList::AT_LoopHint: > > return handleLoopHintAttr( ~ ) > > case AttributeList::AT_OpenCLUnrollHint: > > ~ > > ... > > } > > > > As I w...