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

/external/chromium_org/third_party/WebKit/Source/build/scripts/
H A Dmake_token_matcher_unittest.py33 from make_token_matcher import BadInput, CaseLineProcessor, MainLineProcessor, Optimizer, process_file, SwitchCase, SwitchLineProcessor namespace
42 [SwitchCase('-', None), SwitchCase('x', None)],
H A Dmake_token_matcher.py40 class SwitchCase(object): class in inherits:object
211 self.parent.add_case(SwitchCase(self.identifier, self.block))
/external/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp42 SwitchCase *SC;
51 CaseInfo(SwitchCase *S, SourceRange Range)
64 SwitchCase *Curr = S->getSwitchCaseList();
87 Stmt *getCaseParent(SwitchCase *S) {
89 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent)))
/external/clang/include/clang/AST/
H A DStmt.h639 // SwitchCase is the base class for CaseStmt and DefaultStmt,
640 class SwitchCase : public Stmt { class in namespace:clang
644 SwitchCase *NextSwitchCase;
648 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) function in class:clang::SwitchCase
652 SwitchCase(StmtClass SC, EmptyShell) function in class:clang::SwitchCase
656 const SwitchCase *getNextSwitchCase() const { return NextSwitchCase; }
658 SwitchCase *getNextSwitchCase() { return NextSwitchCase; }
660 void setNextSwitchCase(SwitchCase *SC) { NextSwitchCase = SC; }
669 return const_cast<SwitchCase*>(this)->getSubStmt();
681 class CaseStmt : public SwitchCase {
[all...]
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A DRegexps.py394 class SwitchCase(RE): class in inherits:RE
396 SwitchCase(re, nocase) is an RE which matches the same strings as RE,
521 return SwitchCase(re, nocase = 1)
529 return SwitchCase(re, nocase = 0)
/external/clang/include/clang/Serialization/
H A DASTWriter.h64 class SwitchCase;
393 /// \brief Mapping from SwitchCase statements to IDs.
394 llvm::DenseMap<SwitchCase *, unsigned> SwitchCaseIDs;
727 unsigned RecordSwitchCaseID(SwitchCase *S);
730 unsigned getSwitchCaseID(SwitchCase *S);
H A DASTReader.h81 class SwitchCase;
826 typedef llvm::DenseMap<unsigned, SwitchCase *> SwitchCaseMapTy;
2067 void RecordSwitchCaseID(SwitchCase *SC, unsigned ID);
2070 SwitchCase *getSwitchCaseWithID(unsigned ID);
/external/clang/lib/Sema/
H A DSemaStmtAttr.cpp31 if (isa<SwitchCase>(St)) {
H A DAnalysisBasedWarnings.cpp926 if (L && isa<SwitchCase>(L) && ReachableBlocks.insert(B))
958 const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(P->getLabel());
1054 if (const SwitchCase *SW = dyn_cast_or_null<SwitchCase>(B.getLabel()))
1055 if (!isa<SwitchCase>(SW->getSubStmt()))
1102 if (!Label || !isa<SwitchCase>(Label))
H A DJumpDiagnostics.cpp510 for (SwitchCase *SC = SS->getSwitchCaseList(); SC;
H A DSemaStmt.cpp764 for (SwitchCase *SC = SS->getSwitchCaseList(); SC && !HasDependentValue;
H A DSemaCodeComplete.cpp3740 for (SwitchCase *SC = Switch->getSwitchCaseList(); SC;
/external/clang/lib/CodeGen/
H A DCGStmt.cpp1290 const SwitchCase *Case,
1299 if (const SwitchCase *SC = dyn_cast<SwitchCase>(S)) {
1316 // If this is a switch statement, then it might contain the SwitchCase, the
1319 // Handle this as two cases: we might be looking for the SwitchCase (if so
1419 const SwitchCase *&ResultCase) {
1421 // efficiently by scanning the SwitchCase list.
1422 const SwitchCase *Case = S.getSwitchCaseList();
1479 const SwitchCase *Case = nullptr;
1527 // Walk the SwitchCase lis
[all...]
H A DCodeGenFunction.cpp885 if (isa<SwitchCase>(S) && !IgnoreCaseStmts)
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1057 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchCase> switchCase;
3573 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>,
3581 for (const SwitchCase *SC = Node.getSwitchCaseList(); SC;
/external/clang/lib/AST/
H A DStmt.cpp116 else if (const SwitchCase *SC = dyn_cast<SwitchCase>(S))
909 Stmt *SwitchCase::getSubStmt() {
H A DStmtProfile.cpp94 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) {
H A DExprConstant.cpp3172 const SwitchCase *SC = nullptr);
3177 const SwitchCase *Case = nullptr) {
3211 const SwitchCase *Found = nullptr;
3212 for (const SwitchCase *SC = SS->getSwitchCaseList(); SC;
3252 const Stmt *S, const SwitchCase *Case) {
3521 return EvaluateStmt(Result, Info, cast<SwitchCase>(S)->getSubStmt(), Case);
/external/clang/lib/Analysis/
H A DUninitializedValues.cpp595 if (!Label || !isa<SwitchCase>(Label))
/external/clang/lib/Serialization/
H A DASTWriterStmt.cpp81 void ASTStmtWriter::VisitSwitchCase(SwitchCase *S) {
138 for (SwitchCase *SC = S->getSwitchCaseList(); SC;
1874 unsigned ASTWriter::RecordSwitchCaseID(SwitchCase *S) {
1876 "SwitchCase recorded twice");
1882 unsigned ASTWriter::getSwitchCaseID(SwitchCase *S) {
1884 "SwitchCase hasn't been seen yet");
H A DASTReaderStmt.cpp142 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) {
205 SwitchCase *PrevSC = nullptr;
207 SwitchCase *SC = Reader.getSwitchCaseWithID(Record[Idx]);
H A DASTReader.cpp7938 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) {
7940 "Already have a SwitchCase with this ID");
7945 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) {
7946 assert((*CurrSwitchCaseStmts)[ID] != nullptr && "No SwitchCase with this ID");
/external/chromium_org/third_party/blanketjs/src/
H A Dblanket.js126 SwitchCase: 'SwitchCase',
2570 type: Syntax.SwitchCase,
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp3081 TEST(SwitchCase, MatchesCase) {
3088 TEST(SwitchCase, MatchesSwitch) {
3095 TEST(SwitchCase, MatchesEachCase) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 2609 milliseconds