Searched refs:AttrRange (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 91 SourceRange AttrRange; variable 219 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 237 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 258 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 276 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 294 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 308 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList() 330 SourceLocation getLoc() const { return AttrRange.getBegin(); } in getLoc() 331 SourceRange getRange() const { return AttrRange; } in getRange()
|
D | Sema.h | 7270 void AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, 7272 void AddAlignedAttr(SourceRange AttrRange, Decl *D, TypeSourceInfo *T,
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 1429 SourceRange AttrRange = Attributes.Range; in ParseClassSpecifier() local 1430 if (AttrRange.isValid()) { in ParseClassSpecifier() 1431 Diag(AttrRange.getBegin(), diag::err_attributes_not_allowed) in ParseClassSpecifier() 1432 << AttrRange in ParseClassSpecifier() 1434 CharSourceRange(AttrRange, true)) in ParseClassSpecifier() 1435 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier()
|
D | ParseDecl.cpp | 1245 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true); in DiagnoseMisplacedCXX11Attribute() local 1248 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute() 1249 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 2720 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignedAttr() argument 2722 AlignedAttr TmpAttr(AttrRange, Context, true, E, SpellingListIndex); in AddAlignedAttr() 2723 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignedAttr() 2799 AlignedAttr *AA = ::new (Context) AlignedAttr(AttrRange, Context, true, in AddAlignedAttr() 2805 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, TypeSourceInfo *TS, in AddAlignedAttr() argument 2809 AlignedAttr *AA = ::new (Context) AlignedAttr(AttrRange, Context, false, TS, in AddAlignedAttr()
|