Searched defs:WhileStmt (Results 1 - 3 of 3) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTraversalTest.cpp | 972 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 D | Stmt.cpp | 862 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 D | Stmt.h | 1045 /// 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 224 milliseconds