Home
last modified time | relevance | path

Searched refs:valueDecl (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DShrinkToFitCheck.cpp26 ShrinkableExpr.with(hasDeclaration(valueDecl().bind("ContainerDecl"))); in registerMatchers()
28 hasDeclaration(valueDecl(equalsBoundNode("ContainerDecl")))); in registerMatchers()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAbstractBasicWriter.h190 const auto *valueDecl = cast<ValueDecl>(baseOrMember); in writeLValuePathSerializationHelper() local
191 asImpl().writeDeclRef(valueDecl); in writeLValuePathSerializationHelper()
192 elemTy = valueDecl->getType(); in writeLValuePathSerializationHelper()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DPreferRegisterOverUnsignedCheck.cpp25 valueDecl(allOf( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DMisplacedConstCheck.cpp24 valueDecl( in registerMatchers()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTestingSupport.cpp127 auto TargetNodes = match(valueDecl(hasName(Name)).bind("v"), ASTCtx); in findValueDecl()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DThreadSafety.cpp264 return FM[ID].valueDecl() == Vd; in containsMutexDecl()
1086 if (const ValueDecl *Cpvd = Cp.valueDecl()) { in insertAttrExprs()
1102 if (const ValueDecl *ArgVd = Cp.valueDecl()) { in insertAttrExprs()
1268 GlobalBeforeSet->checkBeforeAfter(Entry->valueDecl(), FSet, *this, in addLock()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h314 const ValueDecl* valueDecl() const { in valueDecl() function
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp590 REGISTER_MATCHER(valueDecl); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp198 valueDecl(hasType(asString("enum EnumType"))))); in TEST_P()
200 valueDecl(hasType(asString("void (void)"))))); in TEST_P()
H A DASTMatchersNarrowingTest.cpp3508 valueDecl(hasType(decayedType(hasDecayedType(pointerType())))))); in TEST_P()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp790 const internal::VariadicDynCastAllOfMatcher<Decl, ValueDecl> valueDecl; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1243 extern const internal::VariadicDynCastAllOfMatcher<Decl, ValueDecl> valueDecl;