Searched refs:StmtSequence (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/lib/Analysis/ |
D | CloneDetection.cpp | 23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D, in StmtSequence() function in StmtSequence 31 StmtSequence::StmtSequence(const Stmt *Stmt, const Decl *D) in StmtSequence() function in StmtSequence 34 StmtSequence::StmtSequence() in StmtSequence() function in StmtSequence 37 bool StmtSequence::contains(const StmtSequence &Other) const { in contains() 59 StmtSequence::iterator StmtSequence::begin() const { in begin() 67 StmtSequence::iterator StmtSequence::end() const { in end() 69 return reinterpret_cast<StmtSequence::iterator>(&S) + 1; in end() 75 ASTContext &StmtSequence::getASTContext() const { in getASTContext() 80 SourceLocation StmtSequence::getBeginLoc() const { in getBeginLoc() 84 SourceLocation StmtSequence::getEndLoc() const { return back()->getEndLoc(); } in getEndLoc() [all …]
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | CloneDetection.h | 33 class StmtSequence { 61 StmtSequence(const CompoundStmt *Stmt, const Decl *D, unsigned StartIndex, 68 StmtSequence(const Stmt *Stmt, const Decl *D); 71 StmtSequence(); 135 bool operator==(const StmtSequence &Other) const { 140 bool operator!=(const StmtSequence &Other) const { 150 bool contains(const StmtSequence &Other) const; 170 typedef llvm::SmallVector<StmtSequence, 8> CloneGroup; 251 llvm::function_ref<bool(const StmtSequence &, const StmtSequence &)> 294 size_t calculateStmtComplexity(const StmtSequence &Seq, std::size_t Limit, [all …]
|
/external/llvm-project/clang/unittests/Analysis/ |
D | CloneDetectionTest.cpp | 39 CloneGroups, [](const StmtSequence &A, const StmtSequence &B) { in constrain() 42 for (const StmtSequence &Arg : {A, B}) { in constrain()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CloneChecker.cpp | 99 static PathDiagnosticLocation makeLocation(const StmtSequence &S, in makeLocation()
|