Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Basic/
DAttributeCommonInfo.h64 SourceRange AttrRange; variable
76 AttributeCommonInfo(SourceRange AttrRange) in AttributeCommonInfo() argument
77 : AttrRange(AttrRange), ScopeLoc(), AttrKind(0), SyntaxUsed(0), in AttributeCommonInfo()
81 : AttrRange(AttrLoc), ScopeLoc(), AttrKind(0), SyntaxUsed(0), in AttributeCommonInfo()
85 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
87 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
93 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
95 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
100 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() argument
103 : AttrName(AttrName), ScopeName(ScopeName), AttrRange(AttrRange), in AttributeCommonInfo()
[all …]
/external/clang/include/clang/Sema/
DAttributeList.h115 SourceRange AttrRange; variable
241 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
261 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
281 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
298 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
316 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
330 : AttrName(attrName), ScopeName(scopeName), AttrRange(attrRange), in AttributeList()
352 SourceLocation getLoc() const { return AttrRange.getBegin(); } in getLoc()
353 SourceRange getRange() const { return AttrRange; } in getRange()
DSema.h7875 void AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E,
7877 void AddAlignedAttr(SourceRange AttrRange, Decl *D, TypeSourceInfo *T,
7882 void AddAssumeAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, Expr *OE,
7887 void AddAlignValueAttr(SourceRange AttrRange, Decl *D, Expr *E,
7892 void AddLaunchBoundsAttr(SourceRange AttrRange, Decl *D, Expr *MaxThreads,
7896 void AddModeAttr(SourceRange AttrRange, Decl *D, IdentifierInfo *Name,
7899 void AddParameterABIAttr(SourceRange AttrRange, Decl *D,
7902 void AddNSConsumedAttr(SourceRange AttrRange, Decl *D,
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1317 void Sema::AddAssumeAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAssumeAlignedAttr() argument
1322 AssumeAlignedAttr TmpAttr(AttrRange, Context, E, OE, SpellingListIndex); in AddAssumeAlignedAttr()
1323 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAssumeAlignedAttr()
1327 << &TmpAttr << AttrRange << SR; in AddAssumeAlignedAttr()
1365 AssumeAlignedAttr(AttrRange, Context, E, OE, SpellingListIndex)); in AddAssumeAlignedAttr()
3101 void Sema::AddAlignValueAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignValueAttr() argument
3103 AlignValueAttr TmpAttr(AttrRange, Context, E, SpellingListIndex); in AddAlignValueAttr()
3104 SourceLocation AttrLoc = AttrRange.getBegin(); in AddAlignValueAttr()
3137 AlignValueAttr(AttrRange, Context, ICE.get(), in AddAlignValueAttr()
3184 void Sema::AddAlignedAttr(SourceRange AttrRange, Decl *D, Expr *E, in AddAlignedAttr() argument
[all …]
/external/clang/lib/Parse/
DParseDeclCXX.cpp1560 SourceRange AttrRange = Attributes.Range; in ParseClassSpecifier() local
1561 if (AttrRange.isValid()) { in ParseClassSpecifier()
1562 Diag(AttrRange.getBegin(), diag::err_attributes_not_allowed) in ParseClassSpecifier()
1563 << AttrRange in ParseClassSpecifier()
1565 CharSourceRange(AttrRange, true)) in ParseClassSpecifier()
1566 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier()
DParseDecl.cpp1398 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true); in DiagnoseMisplacedCXX11Attribute() local
1401 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute()
1402 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute()
/external/llvm-project/clang/lib/Parse/
DParseDeclCXX.cpp1766 SourceRange AttrRange = Attributes.Range; in ParseClassSpecifier() local
1767 if (AttrRange.isValid()) { in ParseClassSpecifier()
1768 Diag(AttrRange.getBegin(), diag::err_attributes_not_allowed) in ParseClassSpecifier()
1769 << AttrRange in ParseClassSpecifier()
1771 CharSourceRange(AttrRange, true)) in ParseClassSpecifier()
1772 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier()
DParseDecl.cpp1573 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true); in DiagnoseMisplacedCXX11Attribute() local
1576 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseMisplacedCXX11Attribute()
1577 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute()
1583 CharSourceRange AttrRange(Range, true); in DiagnoseProhibitedAttributes() local
1585 << FixItHint::CreateInsertionFromRange(CorrectLocation, AttrRange) in DiagnoseProhibitedAttributes()
1586 << FixItHint::CreateRemoval(AttrRange); in DiagnoseProhibitedAttributes()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2782 SourceRange AttrRange = Record.readSourceRange(); in readAttr() local
2788 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr()