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

12

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DScopeInfo.h40 class SwitchStmt;
118 SmallVector<SwitchStmt*, 8> SwitchStack;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp63 bool VisitSwitchStmt(SwitchStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DParentMap.cpp193 return DirectChild == cast<SwitchStmt>(P)->getCond();
H A DStmt.cpp884 SwitchStmt::SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond) function in class:SwitchStmt
892 VarDecl *SwitchStmt::getConditionVariable() const {
900 void SwitchStmt::setConditionVariable(const ASTContext &C, VarDecl *V) {
H A DStmtPrinter.cpp231 void StmtPrinter::VisitSwitchStmt(SwitchStmt *Node) {
H A DStmtProfile.cpp122 void StmtProfiler::VisitSwitchStmt(const SwitchStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h528 const SwitchStmt *getSwitch() const {
529 return cast<SwitchStmt>(Src->getTerminator());
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp327 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) {
515 SwitchStmt *SS = cast<SwitchStmt>(Jump);
H A DAnalysisBasedWarnings.cpp781 if (Term && isa<SwitchStmt>(Term))
846 bool VisitSwitchStmt(SwitchStmt *S) {
H A DSemaStmt.cpp650 SwitchStmt *SS = new (Context) SwitchStmt(Context, ConditionVar, Cond);
666 SwitchStmt *SS = cast<SwitchStmt>(Switch);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp401 CFGBlock *VisitSwitchStmt(SwitchStmt *S);
1214 return VisitSwitchStmt(cast<SwitchStmt>(S));
2649 CFGBlock *CFGBuilder::VisitSwitchStmt(SwitchStmt *Terminator) {
2737 // Finally, if the SwitchStmt contains a condition variable, add both the
2738 // SwitchStmt and the condition variable initialization to the CFG.
3482 if (const SwitchStmt *S =
3483 dyn_cast_or_null<SwitchStmt>(From->getTerminator().getStmt())) {
3548 cast<SwitchStmt>(stmt)->getConditionVariable();
3660 void VisitSwitchStmt(SwitchStmt *Terminator) {
4066 E = cast<SwitchStmt>(Terminato
[all...]
H A DUninitializedValues.cpp591 if (isa<SwitchStmt>(Term)) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp136 case Stmt::SwitchStmtClass: EmitSwitchStmt(cast<SwitchStmt>(*S)); break;
1185 static bool FindCaseStatementsForValue(const SwitchStmt &S,
1236 void CodeGenFunction::EmitSwitchStmt(const SwitchStmt &S) {
H A DCodeGenFunction.cpp797 if (isa<SwitchStmt>(S))
817 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) ||
H A DCodeGenFunction.h1830 void EmitSwitchStmt(const SwitchStmt &S);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h48 class SwitchStmt;
627 // used by SwitchStmt.
912 /// SwitchStmt - This represents a 'switch' stmt.
914 class SwitchStmt : public Stmt { class in namespace:clang
921 /// If the SwitchStmt is a switch on an enum value, this records whether
927 SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond);
930 explicit SwitchStmt(EmptyShell Empty) : Stmt(SwitchStmtClass, Empty) { } function in class:clang::SwitchStmt
944 /// If this SwitchStmt has a condition variable, return the faux DeclStmt
977 /// Set a flag in the SwitchStmt indicating that if the 'switch (X)' is a
983 /// Returns true if the SwitchStmt i
[all...]
H A DRecursiveASTVisitor.h1976 DEF_TRAVERSE_STMT(SwitchStmt, { })
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp433 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(),
H A DExprEngine.cpp1658 const SwitchStmt *SS = builder.getSwitch();
2364 if (isa<SwitchStmt>(T)) {
H A DBugReporter.cpp1939 return cast<SwitchStmt>(S)->getCond() == Cond;
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h963 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt;
3433 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp195 void ASTStmtReader::VisitSwitchStmt(SwitchStmt *S) {
1890 S = new (Context) SwitchStmt(Empty);
H A DASTWriterStmt.cpp132 void ASTStmtWriter::VisitSwitchStmt(SwitchStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp4661 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) ||
4830 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) ||
4833 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) ||
H A DRewriteModernObjC.cpp5648 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) ||
5837 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) ||
5840 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) ||

Completed in 494 milliseconds

12