Home
last modified time | relevance | path

Searched refs:DeclaratorDecl (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSmartPtrArrayMismatchCheck.cpp26 bool isInSingleDeclStmt(const DeclaratorDecl *D) { in isInSingleDeclStmt()
35 const DeclaratorDecl *getConstructedVarOrField(const Expr *FoundConstructExpr, in getConstructedVarOrField()
41 const auto *ParentDecl = ConstructParents.begin()->get<DeclaratorDecl>(); in getConstructedVarOrField()
86 const DeclaratorDecl *VarOrField = in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DCXXABI.h23 class DeclaratorDecl; variable
70 DeclaratorDecl *DD) = 0;
72 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
H A DMicrosoftCXXABI.cpp113 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
179 DeclaratorDecl *DD) override { in addDeclaratorForUnnamedTagDecl()
181 DD = cast<DeclaratorDecl>(DD->getCanonicalDecl()); in addDeclaratorForUnnamedTagDecl()
182 DeclaratorDecl *&I = UnnamedTagDeclToDeclaratorDecl[TD]; in addDeclaratorForUnnamedTagDecl()
187 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DItaniumCXXABI.cpp275 DeclaratorDecl *DD) override {} in addDeclaratorForUnnamedTagDecl()
277 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DDecl.cpp1895 SourceLocation DeclaratorDecl::getTypeSpecStartLoc() const { in getTypeSpecStartLoc()
1901 SourceLocation DeclaratorDecl::getTypeSpecEndLoc() const { in getTypeSpecEndLoc()
1907 void DeclaratorDecl::setQualifierInfo(NestedNameSpecifierLoc QualifierLoc) { in setQualifierInfo()
1941 void DeclaratorDecl::setTemplateParameterListsInfo( in setTemplateParameterListsInfo()
1957 SourceLocation DeclaratorDecl::getOuterLocStart() const { in getOuterLocStart()
1997 SourceRange DeclaratorDecl::getSourceRange() const { in getSourceRange()
2045 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
2105 return DeclaratorDecl::getSourceRange(); in getSourceRange()
2846 return SourceRange(DeclaratorDecl::getBeginLoc(), getLocation()); in getSourceRange()
2848 return DeclaratorDecl::getSourceRange(); in getSourceRange()
[all …]
H A DComment.cpp310 if (const auto *VD = dyn_cast<DeclaratorDecl>(CommentDecl)) in fill()
H A DDeclTemplate.cpp712 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
785 return DeclaratorDecl::getSourceRange(); in getSourceRange()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DExternalSemaSource.h30 class DeclaratorDecl; variable
116 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} in ReadUnusedFileScopedDecls()
H A DMultiplexExternalSemaSource.h24 class DeclaratorDecl; variable
256 SmallVectorImpl<const DeclaratorDecl*> &Decls) override;
H A DTemplate.h34 class DeclaratorDecl; variable
633 bool SubstQualifier(const DeclaratorDecl *OldDecl,
634 DeclaratorDecl *NewDecl);
/llvm-project-15.0.7/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp56 void addIfInMain(const DeclaratorDecl *DD, SourceLocation defStart);
83 void MapExtDefNamesConsumer::addIfInMain(const DeclaratorDecl *DD, in addIfInMain()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExpandAutoType.cpp70 if (const auto *DD = It->ASTNode.get<DeclaratorDecl>()) { in isDeducedAsLambda()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp54 } else if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) { in TraverseDecl()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h41 class DeclaratorDecl; variable
251 NonLoc makePointerToMember(const DeclaratorDecl *DD) { in makePointerToMember()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclFriend.h156 if (const auto *DD = dyn_cast<DeclaratorDecl>(ND)) { in getSourceRange()
H A DDecl.h726 class DeclaratorDecl : public ValueDecl {
746 DeclaratorDecl(Kind DK, DeclContext *DC, SourceLocation L, in DeclaratorDecl() function
874 class VarDecl : public DeclaratorDecl, public Redeclarable<VarDecl> {
1872 class FunctionDecl : public DeclaratorDecl,
2873 class FieldDecl : public DeclaratorDecl, public Mergeable<FieldDecl> {
2924 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in FieldDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMagicNumbersCheck.cpp28 const auto *AsDecl = Node.get<DeclaratorDecl>(); in isUsedToInitializeAConstant()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h220 bool VisitDeclaratorDecl(DeclaratorDecl *DD);
H A DCXType.cpp244 if (const DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) in clang_getCursorType()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp63 EXPECT_TRUE(DNT<DeclaratorDecl>().isBaseOf(DNT<ParmVarDecl>(), &Distance)); in TEST()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp251 assert((isa<DeclaratorDecl, TypedefNameDecl>(D)) && in getQualifiedNameStart()
259 if (const auto *DD = dyn_cast<DeclaratorDecl>(D)) { in getQualifiedNameStart()
484 assert((isa<DeclaratorDecl, TypedefNameDecl>(D)) && in isResponsibleForCreatingDeclaration()
711 bool WalkUpFromDeclaratorDecl(DeclaratorDecl *DD) { in WalkUpFromDeclaratorDecl()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp202 if (auto *V = llvm::dyn_cast<DeclaratorDecl>(&ND)) in getQualifierLoc()
448 bool VisitDeclaratorDecl(DeclaratorDecl *D) { in VisitDeclaratorDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp253 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp89 void VisitDeclaratorDecl(DeclaratorDecl *D);
278 if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) { in Visit()
527 void ASTDeclWriter::VisitDeclaratorDecl(DeclaratorDecl *D) { in VisitDeclaratorDecl()
532 DeclaratorDecl::ExtInfo *Info = D->getExtInfo(); in VisitDeclaratorDecl()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h485 llvm::SmallVectorImpl<const clang::DeclaratorDecl *> &Decls) override { in ReadUnusedFileScopedDecls()

123