Home
last modified time | relevance | path

Searched refs:WasEvaluated (Results 1 – 4 of 4) sorted by relevance

/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); in VisitVarDecl() local
47 VarInfo[VD->getNameAsString()] = WasEvaluated; in VisitVarDecl()
48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(), in VisitVarDecl()
/external/clang/include/clang/AST/
DDecl.h680 EvaluatedStmt() : WasEvaluated(false), IsEvaluating(false), CheckedICE(false), in EvaluatedStmt()
684 bool WasEvaluated : 1; member
1132 if (Eval->WasEvaluated) in getEvaluatedValue()
/external/clang/lib/Sema/
DSemaExprCXX.cpp401 bool WasEvaluated = false; in BuildCXXTypeId() local
431 WasEvaluated = true; in BuildCXXTypeId()
452 E->HasSideEffects(Context, WasEvaluated)) { in BuildCXXTypeId()
455 Diag(E->getExprLoc(), WasEvaluated in BuildCXXTypeId()
/external/clang/lib/AST/
DDecl.cpp2132 if (Eval->WasEvaluated) in evaluateValue()
2159 Eval->WasEvaluated = true; in evaluateValue()