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

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp68 if (const IfStmt *Node = Result.Nodes.getStmtAs<IfStmt>(Id)) {
/freebsd-9.3-release/contrib/llvm/tools/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 DConsumed.cpp992 void splitVarStateForIf(const IfStmt * IfNode, const VarTestResult &Test,
1327 if (const IfStmt *IfNode =
1328 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) {
H A DCFG.cpp381 CFGBlock *VisitIfStmt(IfStmt *I);
1159 return VisitIfStmt(cast<IfStmt>(S));
1766 CFGBlock *CFGBuilder::VisitIfStmt(IfStmt *I) {
1877 // Finally, if the IfStmt contains a condition variable, add both the IfStmt
3528 const VarDecl *var = cast<IfStmt>(stmt)->getConditionVariable();
3620 void VisitIfStmt(IfStmt *I) {
4054 E = cast<IfStmt>(Terminator)->getCond();
/freebsd-9.3-release/contrib/llvm/tools/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(const ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, function in class:IfStmt
834 VarDecl *IfStmt::getConditionVariable() const {
842 void IfStmt::setConditionVariable(const ASTContext &C, VarDecl *V) {
H A DStmtProfile.cpp117 void StmtProfiler::VisitIfStmt(const IfStmt *S) {
H A DExprConstant.cpp3233 const IfStmt *IS = cast<IfStmt>(S);
3330 const IfStmt *IS = cast<IfStmt>(S);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp98 bool VisitIfStmt(IfStmt *S) {
H A DTransforms.cpp273 bool VisitIfStmt(IfStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h834 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt;
2263 IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator),
2324 AST_MATCHER_P(IfStmt, hasConditionVariableStatement,
2261 AST_POLYMORPHIC_MATCHER_P( hasCondition, AST_POLYMORPHIC_SUPPORTED_TYPES_5( IfStmt, ForStmt, WhileStmt, DoStmt, ConditionalOperator), internal::Matcher<Expr>, InnerMatcher) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp402 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred);
H A DBugReporter.cpp468 if (cast<IfStmt>(Parent)->getCond() != S)
1927 return cast<IfStmt>(S)->getCond() == Cond;
2109 isa<IfStmt>(s1Start) || isa<ObjCForCollectionStmt>(s1Start) ||
H A DBugReporterVisitors.cpp1227 Cond = cast<IfStmt>(Term)->getCond();
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h844 /// IfStmt - This represents an if/then/else.
846 class IfStmt : public Stmt { class in namespace:clang
854 IfStmt(const ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond,
858 explicit IfStmt(EmptyShell Empty) : Stmt(IfStmtClass, Empty) { } function in class:clang::IfStmt
871 /// If this IfStmt has a condition variable, return the faux DeclStmt
H A DRecursiveASTVisitor.h1950 DEF_TRAVERSE_STMT(IfStmt, { })
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp129 case Stmt::IfStmtClass: EmitIfStmt(cast<IfStmt>(*S)); break;
429 void CodeGenFunction::EmitIfStmt(const IfStmt &S) {
H A DCodeGenFunction.h1822 void EmitIfStmt(const IfStmt &S);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp551 const IfStmt *IS = cast<IfStmt>(Term);
H A DSemaStmt.cpp461 return Owned(new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr,
H A DSemaDeclCXX.cpp1015 IfStmt *If = cast<IfStmt>(S);
H A DTreeTransform.h5411 TreeTransform<Derived>::TransformIfStmt(IfStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp184 void ASTStmtReader::VisitIfStmt(IfStmt *S) {
1886 S = new (Context) IfStmt(Empty);
H A DASTWriterStmt.cpp121 void ASTStmtWriter::VisitIfStmt(IfStmt *S) {

Completed in 474 milliseconds