Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/Analysis/
DCloneDetectionTest.cpp44 dyn_cast<const FunctionDecl>(Arg.getContainingDecl())) { in constrain()
80 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST()
99 const auto ND = dyn_cast<const FunctionDecl>(Clone.getContainingDecl()); in TEST()
/external/llvm-project/clang/lib/Analysis/
DCloneDetection.cpp164 SM.getFilename(S.getContainingDecl()->getLocation())); in isAutoGenerated()
328 CollectStmtSequenceData(StmtSequence(Child, Sequence.getContainingDecl()), in CollectStmtSequenceData()
366 saveHash(S.front(), S.getContainingDecl(), StmtsByHash); in constrain()
450 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
457 StmtSequence(S, Seq.getContainingDecl()), Limit, MacroStack); in calculateStmtComplexity()
/external/llvm-project/clang/include/clang/Analysis/
DCloneDetection.h113 const Decl *getContainingDecl() const { in getContainingDecl() function