Searched refs:CondVar (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | RedundantBranchConditionCheck.cpp | 78 const auto *CondVar = Result.Nodes.getNodeAs<VarDecl>(CondVarStr); in check() local 92 if (isChangedBefore(OuterIf->getThen(), InnerIfVar, OuterIfVar, CondVar, in check() 96 if (isChangedBefore(OuterIf->getCond(), InnerIfVar, OuterIfVar, CondVar, in check() 104 if (hasPtrOrReferenceInFunc(Func, CondVar)) in check() 107 auto Diag = diag(InnerIf->getBeginLoc(), "redundant condition %0") << CondVar; in check() 122 if (LeftDRE && LeftDRE->getDecl() == CondVar) in check() 164 if (LeftDRE && LeftDRE->getDecl() == CondVar) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | infinite-loop.cpp | 545 void evaluatable(bool CondVar) { in evaluatable() argument 546 for (; false && CondVar;) { in evaluatable() 548 while (false && CondVar) { in evaluatable() 551 } while (false && CondVar); in evaluatable()
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | cxa_guard_impl.h | 308 template <class Mutex, class CondVar, Mutex& global_mutex, CondVar& global_cond, 603 template <class Mutex, class CondVar, Mutex& global_mutex, CondVar& global_cond, 605 using GlobalMutexGuard = GuardObject<InitByteGlobalMutex<Mutex, CondVar, global_mutex, global_cond,…
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | BracesAroundStatementsCheck.cpp | 163 if (const DeclStmt *CondVar = S->getConditionVariableDeclStmt()) in findRParenLoc() local 164 CondEndLoc = CondVar->getEndLoc(); in findRParenLoc()
|
| H A D | ElseAfterReturnCheck.cpp | 102 if (const VarDecl *CondVar = If->getConditionVariable()) in checkConditionVarUsageInElse() local 103 return findUsage(If->getElse(), CondVar->getID()); in checkConditionVarUsageInElse()
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTMatchersTutorial.rst | 511 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName"); 514 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 2014 if (const Stmt *CondVar = S->getConditionVariableDeclStmt()) in VisitSwitchStmt() local 2015 Visit(CondVar); in VisitSwitchStmt()
|