Home
last modified time | relevance | path

Searched refs:getContainingDecl (Results 1 – 3 of 3) sorted by relevance

/llvm-project/clang/unittests/Analysis/
H A DCloneDetectionTest.cpp43 dyn_cast<const FunctionDecl>(Arg.getContainingDecl())) { in constrain()
79 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST()
98 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST()
/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp163 SM.getFilename(S.getContainingDecl()->getLocation())); in isAutoGenerated()
327 CollectStmtSequenceData(StmtSequence(Child, Sequence.getContainingDecl()), in CollectStmtSequenceData()
365 saveHash(S.front(), S.getContainingDecl(), StmtsByHash); in constrain()
449 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
456 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
/llvm-project/clang/include/clang/Analysis/
H A DCloneDetection.h113 const Decl *getContainingDecl() const { in getContainingDecl() function