/external/llvm-project/clang/test/SemaCXX/ |
D | warn-unreachable.cpp | 162 static const bool ConditionVar = 1; variable 164 if (ConditionVar) in test_global_as_conditionVariable()
|
/external/clang/test/SemaCXX/ |
D | warn-unreachable.cpp | 158 static const bool ConditionVar = 1; variable 160 if (ConditionVar) in test_global_as_conditionVariable()
|
/external/llvm-project/parallel-libs/acxxel/tests/ |
D | acxxel_test.cpp | 358 std::condition_variable ConditionVar; in TEST_P() local 363 .addCallback([&Mutex, &ConditionVar, &GoFlag, &MarkerFlag]( in TEST_P() 366 ConditionVar.wait(Lock, in TEST_P() 395 ConditionVar.notify_one(); in TEST_P()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 3064 Sema::ConditionResult Sema::ActOnConditionVariable(Decl *ConditionVar, in ActOnConditionVariable() argument 3068 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable() 3071 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable() 3077 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable() argument 3080 if (ConditionVar->isInvalidDecl()) in CheckConditionVariable() 3083 QualType T = ConditionVar->getType(); in CheckConditionVariable() 3088 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable() 3090 << ConditionVar->getSourceRange()); in CheckConditionVariable() 3092 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable() 3094 << ConditionVar->getSourceRange()); in CheckConditionVariable() [all …]
|
D | TreeTransform.h | 3403 VarDecl *ConditionVar = cast_or_null<VarDecl>( in TransformCondition() local 3406 if (!ConditionVar) in TransformCondition() 3409 return getSema().ActOnConditionVariable(ConditionVar, Loc, Kind); in TransformCondition()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 3775 Sema::ConditionResult Sema::ActOnConditionVariable(Decl *ConditionVar, in ActOnConditionVariable() argument 3779 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable() 3782 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable() 3788 ExprResult Sema::CheckConditionVariable(VarDecl *ConditionVar, in CheckConditionVariable() argument 3791 if (ConditionVar->isInvalidDecl()) in CheckConditionVariable() 3794 QualType T = ConditionVar->getType(); in CheckConditionVariable() 3799 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable() 3801 << ConditionVar->getSourceRange()); in CheckConditionVariable() 3803 return ExprError(Diag(ConditionVar->getLocation(), in CheckConditionVariable() 3805 << ConditionVar->getSourceRange()); in CheckConditionVariable() [all …]
|
D | TreeTransform.h | 3923 VarDecl *ConditionVar = cast_or_null<VarDecl>( in TransformCondition() local 3926 if (!ConditionVar) in TransformCondition() 3929 return getSema().ActOnConditionVariable(ConditionVar, Loc, Kind); in TransformCondition()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8972 Decl *ConditionVar; variable 8979 ConditionResult(Sema &S, Decl *ConditionVar, FullExprArg Condition, in ConditionResult() argument 8981 : ConditionVar(ConditionVar), Condition(Condition), Invalid(false), in ConditionResult() 8987 : ConditionVar(nullptr), Condition(nullptr), Invalid(Invalid), in ConditionResult() 8994 return std::make_pair(cast_or_null<VarDecl>(ConditionVar), in get() 9014 ConditionResult ActOnConditionVariable(Decl *ConditionVar, 9020 ExprResult CheckConditionVariable(VarDecl *ConditionVar,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 11591 Decl *ConditionVar; variable 11598 ConditionResult(Sema &S, Decl *ConditionVar, FullExprArg Condition, in ConditionResult() argument 11600 : ConditionVar(ConditionVar), Condition(Condition), Invalid(false), in ConditionResult() 11606 : ConditionVar(nullptr), Condition(nullptr), Invalid(Invalid), in ConditionResult() 11613 return std::make_pair(cast_or_null<VarDecl>(ConditionVar), in get() 11633 ConditionResult ActOnConditionVariable(Decl *ConditionVar, 11639 ExprResult CheckConditionVariable(VarDecl *ConditionVar,
|