Searched refs:IfStmt (Results 1 - 25 of 29) sorted by relevance

12

/external/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) {
/external/clang/lib/Analysis/
H A DBodyFarm.cpp234 IfStmt *If = new (C) IfStmt(C, SourceLocation(), 0, UO, CS);
314 // Construct the body of the IfStmt.
338 new (C) IfStmt(C, SourceLocation(), 0, Comparison, Body,
H A DCFG.cpp379 CFGBlock *VisitIfStmt(IfStmt *I);
1150 return VisitIfStmt(cast<IfStmt>(S));
1742 CFGBlock *CFGBuilder::VisitIfStmt(IfStmt *I) {
1853 // Finally, if the IfStmt contains a condition variable, add both the IfStmt
3477 const VarDecl *var = cast<IfStmt>(stmt)->getConditionVariable();
3569 void VisitIfStmt(IfStmt *I) {
3994 E = cast<IfStmt>(Terminator)->getCond();
/external/clang/lib/AST/
H A DStmtPrinter.cpp68 void PrintRawIfStmt(IfStmt *If);
191 void StmtPrinter::PrintRawIfStmt(IfStmt *If) {
216 } else if (IfStmt *ElseIf = dyn_cast<IfStmt>(Else)) {
226 void StmtPrinter::VisitIfStmt(IfStmt *If) {
H A DParentMap.cpp189 return DirectChild == cast<IfStmt>(P)->getCond();
H A DStmt.cpp824 IfStmt::IfStmt(ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, function in class:IfStmt
834 VarDecl *IfStmt::getConditionVariable() const {
842 void IfStmt::setConditionVariable(ASTContext &C, VarDecl *V) {
H A DStmtProfile.cpp117 void StmtProfiler::VisitIfStmt(const IfStmt *S) {
H A DExprConstant.cpp3129 const IfStmt *IS = cast<IfStmt>(S);
3226 const IfStmt *IS = cast<IfStmt>(S);
/external/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp98 bool VisitIfStmt(IfStmt *S) {
H A DTransforms.cpp267 bool VisitIfStmt(IfStmt *S) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h824 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt;
2347 IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator),
2408 AST_MATCHER_P(IfStmt, hasConditionVariableStatement,
2345 AST_POLYMORPHIC_MATCHER_P( hasCondition, AST_POLYMORPHIC_SUPPORTED_TYPES_5( IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator), internal::Matcher<Expr>, InnerMatcher) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp402 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred);
H A DBugReporter.cpp433 if (cast<IfStmt>(Parent)->getCond() != S)
1882 return cast<IfStmt>(S)->getCond() == Cond;
2063 isa<IfStmt>(s1Start) || isa<ObjCForCollectionStmt>(s1Start) ||
H A DBugReporterVisitors.cpp1227 Cond = cast<IfStmt>(Term)->getCond();
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc894 VISIT(IfStmt);
1049 DECL_VISIT_STMT(IfStmt) {
/external/v8/tools/gcmole/
H A Dgcmole.cc896 VISIT(IfStmt);
1051 DECL_VISIT_STMT(IfStmt) {
/external/clang/include/clang/AST/
H A DStmt.h842 /// IfStmt - This represents an if/then/else.
844 class IfStmt : public Stmt { class in namespace:clang
852 IfStmt(ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond,
856 explicit IfStmt(EmptyShell Empty) : Stmt(IfStmtClass, Empty) { } function in class:clang::IfStmt
869 /// If this IfStmt has a condition variable, return the faux DeclStmt
H A DRecursiveASTVisitor.h2018 DEF_TRAVERSE_STMT(IfStmt, { })
/external/clang/lib/CodeGen/
H A DCGStmt.cpp129 case Stmt::IfStmtClass: EmitIfStmt(cast<IfStmt>(*S)); break;
426 void CodeGenFunction::EmitIfStmt(const IfStmt &S) {
H A DCodeGenFunction.h1820 void EmitIfStmt(const IfStmt &S);
/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp529 const IfStmt *IS = cast<IfStmt>(Term);
/external/clang/tools/libclang/
H A DRecursiveASTVisitor.h1933 DEF_TRAVERSE_STMT(IfStmt, { })
H A DCIndex.cpp1835 void VisitIfStmt(const IfStmt *If);
2106 void EnqueueVisitor::VisitIfStmt(const IfStmt *If) {
3691 return cxstring::createRef("IfStmt");
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp184 void ASTStmtReader::VisitIfStmt(IfStmt *S) {
1851 S = new (Context) IfStmt(Empty);
H A DASTWriterStmt.cpp120 void ASTStmtWriter::VisitIfStmt(IfStmt *S) {

Completed in 299 milliseconds

12