/external/llvm-project/clang/lib/Basic/ |
D | Attributes.cpp | 40 AttributeCommonInfo::Syntax SyntaxUsed) { in normalizeAttrScopeName() 47 if (SyntaxUsed == AttributeCommonInfo::AS_CXX11 || in normalizeAttrScopeName() 48 SyntaxUsed == AttributeCommonInfo::AS_C2x) { in normalizeAttrScopeName() 59 AttributeCommonInfo::Syntax SyntaxUsed) { in normalizeAttrName() 63 SyntaxUsed == AttributeCommonInfo::AS_GNU || in normalizeAttrName() 64 ((SyntaxUsed == AttributeCommonInfo::AS_CXX11 || in normalizeAttrName() 65 SyntaxUsed == AttributeCommonInfo::AS_C2x) && in normalizeAttrName() 76 bool AttributeCommonInfo::isGNUScope() const { in isGNUScope() 84 AttributeCommonInfo::Syntax SyntaxUsed) { in normalizeName() 90 assert(SyntaxUsed == AttributeCommonInfo::AS_CXX11 || in normalizeName() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | AttributeCommonInfo.h | 22 class AttributeCommonInfo { 76 AttributeCommonInfo(SourceRange AttrRange) in AttributeCommonInfo() function 80 AttributeCommonInfo(SourceLocation AttrLoc) in AttributeCommonInfo() function 84 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo() function 92 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo() function 99 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo() function 107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo() function 113 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed) in AttributeCommonInfo() function 118 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed, in AttributeCommonInfo() function 123 AttributeCommonInfo(AttributeCommonInfo &&) = default; [all …]
|
D | Attr.td | 748 const AttributeCommonInfo &CommonInfo) { 752 const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
|
/external/llvm-project/clang/lib/Sema/ |
D | ParsedAttr.cpp | 112 const ParsedAttrInfo &ParsedAttrInfo::get(const AttributeCommonInfo &A) { in get() 119 AttributeCommonInfo::IgnoredAttribute); in get() 120 if (A.getParsedKind() == AttributeCommonInfo::IgnoredAttribute) in get() 133 AttributeCommonInfo::Syntax SyntaxUsed = A.getSyntax(); in get() 134 if (SyntaxUsed == AttributeCommonInfo::AS_ContextSensitiveKeyword) in get() 135 SyntaxUsed = AttributeCommonInfo::AS_Keyword; in get() 144 AttributeCommonInfo::UnknownAttribute); in get()
|
D | SemaDeclAttr.cpp | 406 const AttributeCommonInfo &CI) { in handleSimpleAttribute() 430 const AttributeCommonInfo &CI, in handleSimpleAttributeOrDiagnose() 1597 void Sema::AddAssumeAlignedAttr(Decl *D, const AttributeCommonInfo &CI, Expr *E, in AddAssumeAlignedAttr() 1646 void Sema::AddAllocAlignAttr(Decl *D, const AttributeCommonInfo &CI, in AddAllocAlignAttr() 2264 NamedDecl *D, const AttributeCommonInfo &CI, IdentifierInfo *Platform, in mergeAvailabilityAttr() 2545 static T *mergeVisibilityAttr(Sema &S, Decl *D, const AttributeCommonInfo &CI, in mergeVisibilityAttr() 2560 const AttributeCommonInfo &CI, in mergeVisibilityAttr() 2566 Sema::mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, in mergeTypeVisibilityAttr() 2959 SectionAttr *Sema::mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI, in mergeSectionAttr() 3028 CodeSegAttr *Sema::mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI, in mergeCodeSegAttr() [all …]
|
D | SemaAttr.cpp | 605 AttributeCommonInfo::AS_Pragma, in ActOnPragmaUnused() 620 AttributeCommonInfo Info(Ident, SourceRange(Loc), in AddCFAuditedAttribute() 621 AttributeCommonInfo::AS_Pragma); in AddCFAuditedAttribute()
|
D | SemaDecl.cpp | 7184 AttributeCommonInfo::AS_Keyword, ConstInitAttr::Keyword_constinit)); in ActOnVariableDeclarator() 9357 AttributeCommonInfo::AS_Keyword)); in ActOnFunctionDeclarator() 9372 PragmaClangTextSection.PragmaLocation, AttributeCommonInfo::AS_Pragma)); in ActOnFunctionDeclarator() 9379 CodeSegStack.CurrentPragmaLocation, AttributeCommonInfo::AS_Pragma, in ActOnFunctionDeclarator() 9972 CodeSegStack.CurrentPragmaLocation, AttributeCommonInfo::AS_Pragma, in getImplicitCodeSegOrSectionAttrForFunction() 12943 if (SA->getSyntax() == AttributeCommonInfo::AS_Declspec) in CheckCompleteVariableDeclaration() 12951 AttributeCommonInfo::AS_Pragma, SectionAttr::Declspec_allocate)); in CheckCompleteVariableDeclaration() 12962 AttributeCommonInfo::AS_Pragma)); in CheckCompleteVariableDeclaration() 13186 AttributeCommonInfo::AS_Pragma)); in FinalizeDeclaration() 13191 AttributeCommonInfo::AS_Pragma)); in FinalizeDeclaration() [all …]
|
D | SemaObjCProperty.cpp | 2523 Context, SA->getName(), Loc, AttributeCommonInfo::AS_GNU, in ProcessPropertyDecl() 2596 Context, SA->getName(), Loc, AttributeCommonInfo::AS_GNU, in ProcessPropertyDecl()
|
D | SemaOpenMP.cpp | 3807 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 3852 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 3906 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 3951 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 4002 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 4049 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart() 4136 Context, {}, AttributeCommonInfo::AS_Keyword, in ActOnOpenMPRegionStart()
|
D | SemaDeclCXX.cpp | 3471 AttributeCommonInfo::AS_Keyword)); in ActOnCXXMemberDeclarator() 3474 Context, VS.getFinalLoc(), AttributeCommonInfo::AS_Keyword, in ActOnCXXMemberDeclarator()
|
D | SemaType.cpp | 8566 S.getASTContext(), BestCase, Loc, AttributeCommonInfo::AS_Microsoft, in assignInheritanceModel()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Attr.h | 36 class AttributeCommonInfo; variable 46 class Attr : public AttributeCommonInfo { 79 Attr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in Attr() 81 : AttributeCommonInfo(CommonInfo), AttrKind(AK), Inherited(false), in Attr() 116 TypeAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in TypeAttr() 129 StmtAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in StmtAttr() 142 InheritableAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in InheritableAttr() 168 const AttributeCommonInfo &CommonInfo, attr::Kind AK, in InheritableParamAttr() 185 ParameterABIAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in ParameterABIAttr()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ParsedAttr.h | 65 AttributeCommonInfo::Syntax Syntax; 70 ParsedAttrInfo(AttributeCommonInfo::Kind AttrKind = 71 AttributeCommonInfo::NoSemaHandlerAttribute) 115 static const ParsedAttrInfo &get(const AttributeCommonInfo &A); 197 : public AttributeCommonInfo, 286 : AttributeCommonInfo(attrName, scopeName, attrRange, scopeLoc, in ParsedAttr() 305 : AttributeCommonInfo(attrName, scopeName, attrRange, scopeLoc, in ParsedAttr() 323 : AttributeCommonInfo(attrName, scopeName, attrRange, scopeLoc, in ParsedAttr() 340 : AttributeCommonInfo(attrName, scopeName, attrRange, scopeLoc, in ParsedAttr() 358 : AttributeCommonInfo(attrName, scopeName, attrRange, scopeLoc, in ParsedAttr() [all …]
|
D | Sema.h | 3154 mergeAvailabilityAttr(NamedDecl *D, const AttributeCommonInfo &CI, 3161 mergeTypeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, 3163 VisibilityAttr *mergeVisibilityAttr(Decl *D, const AttributeCommonInfo &CI, 3165 UuidAttr *mergeUuidAttr(Decl *D, const AttributeCommonInfo &CI, 3167 DLLImportAttr *mergeDLLImportAttr(Decl *D, const AttributeCommonInfo &CI); 3168 DLLExportAttr *mergeDLLExportAttr(Decl *D, const AttributeCommonInfo &CI); 3170 const AttributeCommonInfo &CI, 3173 FormatAttr *mergeFormatAttr(Decl *D, const AttributeCommonInfo &CI, 3176 SectionAttr *mergeSectionAttr(Decl *D, const AttributeCommonInfo &CI, 3178 CodeSegAttr *mergeCodeSegAttr(Decl *D, const AttributeCommonInfo &CI, [all …]
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2788 AttributeCommonInfo Info(AttrName, ScopeName, AttrRange, ScopeLoc, in readAttr() 2789 AttributeCommonInfo::Kind(ParsedKind), in readAttr() 2790 AttributeCommonInfo::Syntax(Syntax), SpellingIndex); in readAttr() 4667 AttributeCommonInfo::AS_Pragma)); in UpdateDecl() 4677 AttributeCommonInfo::AS_Pragma)); in UpdateDecl() 4696 AttributeCommonInfo::AS_Pragma)); in UpdateDecl()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeGPU.cpp | 212 {}, AttributeCommonInfo::AS_GNU, AlignedAttr::GNU_aligned)); in buildRecordForGlobalizedVars()
|