/llvm-project/clang/unittests/AST/ |
H A D | DeclTest.cpp | 32 TEST(Decl, CleansUpAPValues) { in TEST() argument 72 TEST(Decl, AsmLabelAttr) { in TEST() argument 111 TEST(Decl, MangleDependentSizedArray) { in TEST() argument 145 TEST(Decl, ConceptDecl) { in TEST() argument 154 const auto *Decl = in TEST() local 160 TEST(Decl, EnumDeclRange) { in TEST() argument 176 TEST(Decl, IsInExportDeclContext) { in TEST() argument 190 TEST(Decl, InConsistLinkageForTemplates) { in TEST() argument 232 TEST(Decl, ModuleAndInternalLinkage) { in TEST() argument 262 TEST(Decl, GetNonTransparentDeclContext) { in TEST() argument [all …]
|
/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | ExtractAPIVisitor.h | 154 getTypedefName(const TagDecl * Decl) getTypedefName() argument 171 getBases(const CXXRecordDecl * Decl) getBases() argument 198 getKindForDisplay(const CXXRecordDecl * Decl) getKindForDisplay() argument 259 VisitVarDecl(const VarDecl * Decl) VisitVarDecl() argument 322 VisitFunctionDecl(const FunctionDecl * Decl) VisitFunctionDecl() argument 390 VisitEnumDecl(const EnumDecl * Decl) VisitEnumDecl() argument 438 WalkUpFromFunctionDecl(const FunctionDecl * Decl) WalkUpFromFunctionDecl() argument 445 WalkUpFromRecordDecl(const RecordDecl * Decl) WalkUpFromRecordDecl() argument 452 WalkUpFromCXXRecordDecl(const CXXRecordDecl * Decl) WalkUpFromCXXRecordDecl() argument 459 WalkUpFromCXXMethodDecl(const CXXMethodDecl * Decl) WalkUpFromCXXMethodDecl() argument 466 WalkUpFromClassTemplateSpecializationDecl(const ClassTemplateSpecializationDecl * Decl) WalkUpFromClassTemplateSpecializationDecl() argument 474 WalkUpFromClassTemplatePartialSpecializationDecl(const ClassTemplatePartialSpecializationDecl * Decl) WalkUpFromClassTemplatePartialSpecializationDecl() argument 482 WalkUpFromVarTemplateDecl(const VarTemplateDecl * Decl) WalkUpFromVarTemplateDecl() argument 489 WalkUpFromVarTemplateSpecializationDecl(const VarTemplateSpecializationDecl * Decl) WalkUpFromVarTemplateSpecializationDecl() argument 497 WalkUpFromVarTemplatePartialSpecializationDecl(const VarTemplatePartialSpecializationDecl * Decl) WalkUpFromVarTemplatePartialSpecializationDecl() argument 504 WalkUpFromFunctionTemplateDecl(const FunctionTemplateDecl * Decl) WalkUpFromFunctionTemplateDecl() argument 511 WalkUpFromNamespaceDecl(const NamespaceDecl * Decl) WalkUpFromNamespaceDecl() argument 518 VisitNamespaceDecl(const NamespaceDecl * Decl) VisitNamespaceDecl() argument 549 VisitRecordDecl(const RecordDecl * Decl) VisitRecordDecl() argument 590 VisitCXXRecordDecl(const CXXRecordDecl * Decl) VisitCXXRecordDecl() argument 642 VisitCXXMethodDecl(const CXXMethodDecl * Decl) VisitCXXMethodDecl() argument 707 VisitCXXConstructorDecl(const CXXConstructorDecl * Decl) VisitCXXConstructorDecl() argument 741 VisitCXXDestructorDecl(const CXXDestructorDecl * Decl) VisitCXXDestructorDecl() argument 773 VisitConceptDecl(const ConceptDecl * Decl) VisitConceptDecl() argument 800 VisitClassTemplateSpecializationDecl(const ClassTemplateSpecializationDecl * Decl) VisitClassTemplateSpecializationDecl() argument 834 VisitClassTemplatePartialSpecializationDecl(const ClassTemplatePartialSpecializationDecl * Decl) VisitClassTemplatePartialSpecializationDecl() argument 866 VisitVarTemplateDecl(const VarTemplateDecl * Decl) VisitVarTemplateDecl() argument 910 VisitVarTemplateSpecializationDecl(const VarTemplateSpecializationDecl * Decl) VisitVarTemplateSpecializationDecl() argument 942 VisitVarTemplatePartialSpecializationDecl(const VarTemplatePartialSpecializationDecl * Decl) VisitVarTemplatePartialSpecializationDecl() argument 973 VisitFunctionTemplateDecl(const FunctionTemplateDecl * Decl) VisitFunctionTemplateDecl() argument 1008 VisitObjCInterfaceDecl(const ObjCInterfaceDecl * Decl) VisitObjCInterfaceDecl() argument 1057 VisitObjCProtocolDecl(const ObjCProtocolDecl * Decl) VisitObjCProtocolDecl() argument 1095 VisitTypedefNameDecl(const TypedefNameDecl * Decl) VisitTypedefNameDecl() argument 1158 VisitObjCCategoryDecl(const ObjCCategoryDecl * Decl) VisitObjCCategoryDecl() argument 1229 VisitFieldDecl(const FieldDecl * Decl) VisitFieldDecl() argument 1285 VisitCXXConversionDecl(const CXXConversionDecl * Decl) VisitCXXConversionDecl() argument [all...] |
/llvm-project/clang-tools-extra/clang-tidy/google/ |
H A D | GlobalVariableDeclarationCheck.cpp | 25 FixItHint generateFixItHint(const VarDecl *Decl, bool IsConst) { in generateFixItHint() 80 if (const auto *Decl = Result.Nodes.getNodeAs<VarDecl>("global_var")) { in check() local 88 if (const auto *Decl = Result.Nodes.getNodeAs<VarDecl>("global_const")) { in check() local
|
H A D | OverloadedUnaryAndCheck.cpp | 34 const auto *Decl = Result.Nodes.getNodeAs<FunctionDecl>("overload"); in check() local
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | ForwardDeclarationNamespaceCheck.cpp | 61 const auto *Decl = Result.Nodes.getNodeAs<FriendDecl>("friend_decl"); in check() local 101 static std::string getNameOfNamespace(const CXXRecordDecl *Decl) { in getNameOfNamespace() argument 132 for (const auto *Decl : Declarations) { onEndOfTranslationUnit() local [all...] |
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | RenamerClangTidyCheck.cpp | 114 static bool hasNoName(const NamedDecl *Decl) { in hasNoName() argument 224 bool VisitCXXConstructorDecl(CXXConstructorDecl *Decl) { in VisitCXXConstructorDecl() argument 242 bool VisitCXXDestructorDecl(CXXDestructorDecl *Decl) { in VisitCXXDestructorDecl() argument 256 VisitUsingDecl(UsingDecl * Decl) VisitUsingDecl() argument 263 VisitUsingDirectiveDecl(UsingDirectiveDecl * Decl) VisitUsingDirectiveDecl() argument 269 VisitNamedDecl(NamedDecl * Decl) VisitNamedDecl() argument 285 if (const NamespaceDecl *Decl = Spec->getAsNamespace()) TraverseNestedNameSpecifierLoc() local 351 const TemplateDecl *Decl = VisitTemplateSpecializationTypeLoc() local 365 if (const TagDecl *Decl = Loc.getTypePtr()->getAsTagDecl()) VisitDependentTemplateSpecializationTypeLoc() local 454 addUsage(const NamedDecl * Decl,SourceRange UsageRange,const SourceManager & SourceMgr) addUsage() argument 580 const NamingCheckId &Decl = Pair.first; onEndOfTranslationUnit() local [all...] |
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugAbbrev.cpp | 57 Decl.dump(OS); in dump() local 65 if (Decl.getCode() == AbbrCode) in getAbbreviationDeclaration() local 80 Codes.push_back(Decl.getCode()); in getCodeRange() local
|
/llvm-project/clang/include/clang/Sema/ |
H A D | SemaAVR.h | 19 class Decl; global() variable
|
H A D | SemaMSP430.h | 19 class Decl; global() variable
|
H A D | SemaM68k.h | 19 class Decl; global() variable
|
H A D | SemaSYCL.h | 24 class Decl; variable
|
H A D | SemaOpenCL.h | 19 class Decl; global() variable
|
H A D | SemaSwift.h | 24 class Decl; global() variable [all...] |
/llvm-project/clang-tools-extra/clangd/ |
H A D | AST.h | 32 class Decl; variable
|
/llvm-project/clang/include/clang/Analysis/ |
H A D | IssueHash.h | 14 class Decl; variable
|
/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h |
|
/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 436 if (Decl->getName().empty()) in getFragmentsForType() local 305 const TypedefNameDecl *Decl = TypedefTy->getDecl(); getFragmentsForType() local 421 const TagDecl *Decl = TagTy->getDecl(); getFragmentsForType() local 510 getFragmentsForNamespace(const NamespaceDecl * Decl) getFragmentsForNamespace() argument 1213 getFragmentsForClassTemplateSpecialization(const ClassTemplateSpecializationDecl * Decl) getFragmentsForClassTemplateSpecialization() argument 1234 getFragmentsForClassTemplatePartialSpecialization(const ClassTemplatePartialSpecializationDecl * Decl) getFragmentsForClassTemplatePartialSpecialization() argument 1257 getFragmentsForVarTemplateSpecialization(const VarTemplateSpecializationDecl * Decl) getFragmentsForVarTemplateSpecialization() argument 1277 getFragmentsForVarTemplatePartialSpecialization(const VarTemplatePartialSpecializationDecl * Decl) getFragmentsForVarTemplatePartialSpecialization() argument 1300 getFragmentsForFunctionTemplate(const FunctionTemplateDecl * Decl) getFragmentsForFunctionTemplate() argument 1317 getFragmentsForFunctionTemplateSpecialization(const FunctionDecl * Decl) getFragmentsForFunctionTemplateSpecialization() argument 1577 getFragmentsForTypedef(const TypedefNameDecl * Decl) getFragmentsForTypedef() argument 1600 getSubHeading(const NamedDecl * Decl) getSubHeading() argument [all...] |
/llvm-project/clang/test/Analysis/ |
H A D | llvm-conventions.cpp | 219 struct Decl { struct 220 …g{{AST class 'Decl' has a field 'Vec' that allocates heap memory (type llvm::SmallVector<int, 5>)}}
|
/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
H A D | USRFinder.h | 26 class Decl; variable
|
/llvm-project/clang/include/clang/AST/ |
H A D | Randstruct.h | 24 class Decl; variable
|
/llvm-project/clang-tools-extra/include-cleaner/lib/ |
H A D | AnalysisInternal.h | 33 class Decl; global() variable
|
/llvm-project/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersInternalTest.cpp | 154 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument 174 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt), in AST_POLYMORPHIC_MATCHER_P() 175 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P()
|
/llvm-project/clang/include/clang/Index/ |
H A D | IndexingAction.h | 25 class Decl; variable
|
H A D | USRGeneration.h | 17 class Decl; variable
|
/llvm-project/clang/lib/AST/ |
H A D | Availability.cpp | 21 createFromDecl(const Decl * Decl) createFromDecl() argument
|