Home
last modified time | relevance | path

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

12345678910>>...13

/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGlobalVariableDeclarationCheck.cpp28 FixItHint generateFixItHint(const VarDecl *Decl, bool IsConst) { in generateFixItHint()
83 if (const auto *Decl = Result.Nodes.getNodeAs<VarDecl>("global_var")) { in check() local
91 if (const auto *Decl = Result.Nodes.getNodeAs<VarDecl>("global_const")) { in check() local
DOverloadedUnaryAndCheck.cpp37 const auto *Decl = Result.Nodes.getNodeAs<FunctionDecl>("overload"); in check() local
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp156 const RenamerClangTidyCheck::NamingCheckId &Decl, SourceRange Range, in addUsage()
189 void RenamerClangTidyCheck::addUsage(const NamedDecl *Decl, SourceRange Range, in addUsage()
272 if (const auto *Decl = in check() local
290 if (const auto *Decl = in check() local
306 NamedDecl *Decl = nullptr; in check() local
323 const TemplateDecl *Decl = in check() local
336 if (const TagDecl *Decl = Ref.getTypePtr()->getAsTagDecl()) in check() local
345 if (const NamespaceDecl *Decl = Spec->getAsNamespace()) { in check() local
352 if (const auto *Decl = Result.Nodes.getNodeAs<UsingDecl>("using")) { in check() local
397 if (const auto *Decl = Result.Nodes.getNodeAs<NamedDecl>("decl")) { in check() local
[all …]
DDeclRefExprUtils.cpp100 allDeclRefExprs(const VarDecl &VarDecl, const Decl &Decl, ASTContext &Context) { in allDeclRefExprs()
110 bool isCopyConstructorArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyConstructorArgument()
124 bool isCopyAssignmentArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyAssignmentArgument()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.cpp431 if (const auto *Decl = dyn_cast<NamespaceDecl>(D)) { in findStyleKind() local
459 if (const auto *Decl = dyn_cast<CXXRecordDecl>(D)) { in findStyleKind() local
491 if (const auto *Decl = dyn_cast<FieldDecl>(D)) { in findStyleKind() local
517 if (const auto *Decl = dyn_cast<ParmVarDecl>(D)) { in findStyleKind() local
548 if (const auto *Decl = dyn_cast<VarDecl>(D)) { in findStyleKind() local
607 if (const auto *Decl = dyn_cast<CXXMethodDecl>(D)) { in findStyleKind() local
649 if (const auto *Decl = dyn_cast<FunctionDecl>(D)) { in findStyleKind() local
729 IdentifierNamingCheck::GetDeclFailureInfo(const NamedDecl *Decl, in GetDeclFailureInfo()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp63 const auto *Decl = Result.Nodes.getNodeAs<FriendDecl>("friend_decl"); in check() local
103 static std::string getNameOfNamespace(const CXXRecordDecl *Decl) { in getNameOfNamespace()
134 for (const auto *Decl : Declarations) { in onEndOfTranslationUnit() local
/external/llvm-project/clang/unittests/AST/
DDeclTest.cpp27 TEST(Decl, CleansUpAPValues) { in TEST() argument
67 TEST(Decl, AsmLabelAttr) { in TEST() argument
/external/llvm-project/clang/lib/AST/Interp/
DRecord.h27 const FieldDecl *Decl; member
34 const RecordDecl *Decl; member
97 const RecordDecl *Decl; variable
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp48 for (const auto &Decl : Decls) in dump() local
56 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() local
/external/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp56 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument
76 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt), in AST_POLYMORPHIC_MATCHER_P()
77 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P()
/external/llvm-project/clang/test/Analysis/
Dllvm-conventions.cpp219 struct Decl { struct
220 …g{{AST class 'Decl' has a field 'Vec' that allocates heap memory (type llvm::SmallVector<int, 5>)}}
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp51 for (const auto &Decl : Decls) in dump() local
59 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() local
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp51 for (const auto &Decl : Decls) in dump() local
59 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() local
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersInternalTest.cpp49 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument
69 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt), in AST_POLYMORPHIC_MATCHER_P()
70 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseAutoCheck.cpp420 if (const auto *Decl = Result.Nodes.getNodeAs<DeclStmt>(IteratorDeclStmtId)) { in check() local
422 } else if (const auto *Decl = in check() local
428 } else if (const auto *Decl = in check() local
437 } else if (const auto *Decl = in check() local
/external/llvm-project/clang-tools-extra/clangd/
DAST.h28 class Decl; variable
/external/clang/include/clang/Index/
DCodegenNameGenerator.h24 class Decl; variable
DUSRGeneration.h17 class Decl; variable
/external/llvm-project/clang/include/clang/Analysis/
DIssueHash.h14 class Decl; variable
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DUSRFinder.h26 class Decl; variable
/external/clang/include/clang/StaticAnalyzer/Core/
DIssueHash.h15 class Decl; variable
/external/clang/unittests/AST/
DDeclTest.cpp21 TEST(Decl, CleansUpAPValues) { in TEST() argument
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h124 Constant *getVoidRetI8XEntryPoint(Constant *&Decl, in getVoidRetI8XEntryPoint()
158 Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, in getI8XRetI8XXI8XEntryPoint()
/external/llvm-project/clang/include/clang/Index/
DUSRGeneration.h17 class Decl; variable
DIndexingAction.h25 class Decl; variable

12345678910>>...13