Home
last modified time | relevance | path

Searched refs:AttrRange (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Sema/
DAttributeList.h93 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()
DSema.h7722 void AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E,
7724 void AddAlignedAttr(SourceRange AttrRange, Decl *D, TypeSourceInfo *T,
7729 void AddAssumeAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, Expr *OE,
7734 void AddAlignValueAttr(SourceRange AttrRange, Decl *D, Expr *E,
7739 void AddLaunchBoundsAttr(SourceRange AttrRange, Decl *D, Expr *MaxThreads,
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1297 void Sema::AddAssumeAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAssumeAlignedAttr() argument
1302 AssumeAlignedAttr TmpAttr(AttrRange, Context, E, OE, SpellingListIndex); in AddAssumeAlignedAttr()
1303 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAssumeAlignedAttr()
1307 << &TmpAttr << AttrRange << SR; in AddAssumeAlignedAttr()
1345 AssumeAlignedAttr(AttrRange, Context, E, OE, SpellingListIndex)); in AddAssumeAlignedAttr()
3028 void Sema::AddAlignValueAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignValueAttr() argument
3030 AlignValueAttr TmpAttr(AttrRange, Context, E, SpellingListIndex); in AddAlignValueAttr()
3031 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignValueAttr()
3064 AlignValueAttr(AttrRange, Context, ICE.get(), in AddAlignValueAttr()
3112 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignedAttr() argument
[all …]
/external/clang/lib/Parse/
DParseDeclCXX.cpp1545 SourceRange AttrRange = Attributes.Range; in ParseClassSpecifier() local
1546 if (AttrRange.isValid()) { in ParseClassSpecifier()
1547 Diag(AttrRange.getBegin(), diag::err_attributes_not_allowed) in ParseClassSpecifier()
1548 << AttrRange in ParseClassSpecifier()
1550 CharSourceRange(AttrRange, true)) in ParseClassSpecifier()
1551 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier()
DParseDecl.cpp1367 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true); in DiagnoseMisplacedCXX11Attribute() local
1370 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute()
1371 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute()