Searched defs:fallthrough (Results 1 - 11 of 11) sorted by relevance

/external/clang/test/SemaCXX/
H A Dswitch-implicit-fallthrough-off-by-default.cpp2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -DUNREACHABLE=0 -Wimplicit-fallthrough %s
4 void fallthrough(int n) { function
9 [[fallthrough]]; // expected-no-diagnostics, only checked when UNREACHABLE=0
H A Dswitch-implicit-fallthrough-per-method.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough-per-function %s
4 int fallthrough(int n) { function
8 case 1: // expected-warning{{unannotated fall-through}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
12 [[clang::fallthrough]];
15 case 113: // expected-warning{{unannotated fall-through}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
44 [[fallthrough]];
46 [[clang::fallthrough]];
H A Dswitch-implicit-fallthrough-cxx98.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -Wimplicit-fallthrough %s
7 int fallthrough(int n) { function
H A Dswitch-implicit-fallthrough.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough %s
4 int fallthrough(int n) { function
15 case 0: {// expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
17 case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
19 case 3: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
22 case 4: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
25 case 5: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
34 case 6: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthrough]];' to silence this warning}} expected-note{{insert 'break;' to avoid fall-through}}
55 [[clang::fallthrough]];
58 [[clang::fallthrough]];
[all...]
/external/clang/test/Analysis/
H A Dcxx11-crashes.cpp90 void fallthrough() { function
93 [[clang::fallthrough]]; // expected-error {{does not directly precede}}
/external/v8/src/regexp/mips/
H A Dregexp-macro-assembler-mips.cc219 Label fallthrough;
227 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
358 __ bind(&fallthrough);
365 Label fallthrough; local
376 __ Branch(&fallthrough, le, a1, Operand(zero_reg));
427 __ bind(&fallthrough);
/external/v8/src/regexp/mips64/
H A Dregexp-macro-assembler-mips64.cc255 Label fallthrough;
263 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
394 __ bind(&fallthrough);
401 Label fallthrough; local
412 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
457 __ bind(&fallthrough);
/external/v8/src/regexp/ia32/
H A Dregexp-macro-assembler-ia32.cc181 Label fallthrough; local
183 __ j(not_equal, &fallthrough);
186 __ bind(&fallthrough);
192 Label fallthrough; local
200 __ j(equal, &fallthrough);
347 __ bind(&fallthrough);
354 Label fallthrough; local
366 __ j(equal, &fallthrough);
427 __ bind(&fallthrough);
/external/v8/src/regexp/x87/
H A Dregexp-macro-assembler-x87.cc181 Label fallthrough; local
183 __ j(not_equal, &fallthrough);
186 __ bind(&fallthrough);
191 Label fallthrough; local
199 __ j(equal, &fallthrough);
346 __ bind(&fallthrough);
353 Label fallthrough; local
365 __ j(equal, &fallthrough);
426 __ bind(&fallthrough);
/external/v8/src/regexp/arm64/
H A Dregexp-macro-assembler-arm64.cc277 Label fallthrough; local
298 __ CompareAndBranch(capture_length, Operand(0), eq, &fallthrough);
433 __ Bind(&fallthrough);
439 Label fallthrough; local
459 __ CompareAndBranch(capture_length, Operand(0), eq, &fallthrough);
513 __ Bind(&fallthrough);
/external/v8/src/interpreter/
H A Dbytecode-generator.cc449 BytecodeLabels* else_labels, TestFallthrough fallthrough)
453 fallthrough_(fallthrough),
470 TestFallthrough fallthrough() const { return fallthrough_; } function in class:v8::internal::interpreter::final
2559 // swapping the target labels and the fallthrough branch.
2848 test_result->else_labels(), test_result->fallthrough());
2883 test_result->else_labels(), test_result->fallthrough());
3168 TestFallthrough fallthrough) {
3174 TestResultScope test_result(this, then_labels, else_labels, fallthrough);
3179 switch (fallthrough) {
448 TestResultScope(BytecodeGenerator* generator, BytecodeLabels* then_labels, BytecodeLabels* else_labels, TestFallthrough fallthrough) argument
3165 VisitForTest(Expression* expr, BytecodeLabels* then_labels, BytecodeLabels* else_labels, TestFallthrough fallthrough) argument

Completed in 776 milliseconds