Home
last modified time | relevance | path

Searched defs:Decl (Results 1 – 25 of 247) sorted by relevance

12345678910

/llvm-project/clang/unittests/AST/
H A DDeclTest.cpp32 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 DExtractAPIVisitor.h154 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 DGlobalVariableDeclarationCheck.cpp25 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 DOverloadedUnaryAndCheck.cpp34 const auto *Decl = Result.Nodes.getNodeAs<FunctionDecl>("overload"); in check() local
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp61 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 DRenamerClangTidyCheck.cpp114 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 DDWARFDebugAbbrev.cpp57 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 DSemaAVR.h19 class Decl; global() variable
H A DSemaMSP430.h19 class Decl; global() variable
H A DSemaM68k.h19 class Decl; global() variable
H A DSemaSYCL.h24 class Decl; variable
H A DSemaOpenCL.h19 class Decl; global() variable
H A DSemaSwift.h24 class Decl; global() variable
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DAST.h32 class Decl; variable
/llvm-project/clang/include/clang/Analysis/
H A DIssueHash.h14 class Decl; variable
/llvm-project/clang/lib/AST/Interp/
H A DRecord.h
/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp436 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 Dllvm-conventions.cpp219 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 DUSRFinder.h26 class Decl; variable
/llvm-project/clang/include/clang/AST/
H A DRandstruct.h24 class Decl; variable
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DAnalysisInternal.h33 class Decl; global() variable
/llvm-project/clang/unittests/ASTMatchers/
H A DASTMatchersInternalTest.cpp154 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 DIndexingAction.h25 class Decl; variable
H A DUSRGeneration.h17 class Decl; variable
/llvm-project/clang/lib/AST/
H A DAvailability.cpp21 createFromDecl(const Decl * Decl) createFromDecl() argument

12345678910