Searched defs:WhileStmt (Results 1 - 3 of 3) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp972 StatementMatcher WhileStmt = local
974 EXPECT_TRUE(matches("void x() { while (true) {} }", WhileStmt));
975 EXPECT_TRUE(notMatches("void x() { while (false) {} }", WhileStmt));
/external/clang/lib/AST/
H A DStmt.cpp862 WhileStmt::WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body, function in class:WhileStmt
871 VarDecl *WhileStmt::getConditionVariable() const {
879 void WhileStmt::setConditionVariable(const ASTContext &C, VarDecl *V) {
/external/clang/include/clang/AST/
H A DStmt.h1045 /// WhileStmt - This represents a 'while' stmt.
1047 class WhileStmt : public Stmt { class in namespace:clang
1052 WhileStmt(const ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,
1056 explicit WhileStmt(EmptyShell Empty) : Stmt(WhileStmtClass, Empty) { } function in class:clang::WhileStmt
1069 /// If this WhileStmt has a condition variable, return the faux DeclStmt

Completed in 401 milliseconds