/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue14540.go | 12 fallthrough 15 fallthrough // ERROR "fallthrough statement out of place" 18 fallthrough // ERROR "cannot fallthrough"
|
issue6500.go | 7 // Issue 6500: missing error when fallthrough appears in a block. 16 fallthrough // ERROR "fallthrough" 22 fallthrough 26 fallthrough
|
bug213.go | 12 fallthrough; // ERROR "fallthrough"
|
issue13262.go | 7 // Issue 13262: cmd/compile: bogus "fallthrough 17 fallthrough
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue14540.go | 12 fallthrough 15 fallthrough // ERROR "fallthrough statement out of place" 18 fallthrough // ERROR "cannot fallthrough"
|
issue6500.go | 7 // Issue 6500: missing error when fallthrough appears in a block. 16 fallthrough // ERROR "fallthrough" 22 fallthrough 26 fallthrough
|
bug213.go | 12 fallthrough; // ERROR "fallthrough"
|
issue13262.go | 7 // Issue 13262: cmd/compile: bogus "fallthrough 17 fallthrough
|
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/ |
p1.cpp | 7 [[fallthrough]]; // ok 10 [[fallthrough]]; // ok 16 [[fallthrough]]; // expected-error {{does not directly precede switch label}} 19 [[fallthrough]]; // expected-error {{does not directly precede switch label}} 22 [[fallthrough]]; // expected-error {{does not directly precede switch label}} 24 do [[fallthrough]]; while (true); // expected-error {{does not directly precede switch label}} 26 do [[fallthrough]]; while (false); // expected-error {{does not directly precede switch label}} 32 [[fallthrough]]; 35 [[fallthrough]]; // expected-error {{does not directly precede switch label}} 40 case 10: // no warning, -Wimplicit-fallthrough is not enabled in this test, and does not need t [all...] |
/art/test/657-branches/ |
info.txt | 2 handling branches fallthrough.
|
/external/clang/test/SemaCXX/ |
switch-implicit-fallthrough-off-by-default.cpp | 2 // 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
|
switch-implicit-fallthrough-macro.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -DCLANG_PREFIX -DCOMMAND_LINE_FALLTHROUGH=[[clang::fallthrough]] -DUNCHOSEN=[[fallthrough]] %s 2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROUGH=[[fallthrough]] %s 3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCLANG_PREFIX -DCOMMAND_LINE_FALLTHROUGH=[[clang::fallthrough]] %s 4 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROUGH=[[clang::fallthrough]] %s 5 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROUGH=[[fallthrough]] -DUNCHOSEN=[[clang::fallthrough]] % [all...] |
switch-implicit-fallthrough-per-method.cpp | 1 // 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]];
|
switch-implicit-fallthrough.cpp | 1 // 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...] |
switch-implicit-fallthrough-blocks.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 -Wimplicit-fallthrough %s 9 [[clang::fallthrough]]; // no diagnostics
|
/external/clang/test/PCH/ |
stmt-attrs.cpp | 11 // CHECK: {{\[\[clang::fallthrough\]\] \[\[clang::fallthrough\]\]}} 12 [[clang::fallthrough]] [[clang::fallthrough]];
|
/external/clang/test/PCH/Inputs/ |
cxx11-statement-attributes.h | 7 [[clang::fallthrough]]; // This shouldn't generate a warning. 10 case 2: // This should generate a warning: "unannotated fallthrough"
|
/prebuilts/go/darwin-x86/test/ |
switch.go | 118 fallthrough 122 fallthrough 126 fallthrough 130 fallthrough 138 fallthrough 142 fallthrough 146 fallthrough 150 fallthrough 154 fallthrough 166 fallthrough // tests scoping of case [all...] |
switch4.go | 21 fallthrough // ERROR "cannot fallthrough final case in switch"
|
/prebuilts/go/linux-x86/test/ |
switch.go | 118 fallthrough 122 fallthrough 126 fallthrough 130 fallthrough 138 fallthrough 142 fallthrough 146 fallthrough 150 fallthrough 154 fallthrough 166 fallthrough // tests scoping of case [all...] |
switch4.go | 21 fallthrough // ERROR "cannot fallthrough final case in switch"
|
/external/llvm/test/Transforms/CodeGenPrepare/X86/ |
sink-addrmode.ll | 14 br i1 %cond, label %if.then, label %fallthrough 18 br label %fallthrough 20 fallthrough: 32 br i1 %cond, label %if.then, label %fallthrough 40 br i1 %cmp, label %next, label %fallthrough 47 br label %fallthrough 49 fallthrough: 60 br i1 %cond, label %if.then, label %fallthrough 70 br label %fallthrough 72 fallthrough [all...] |
sink-addrspacecast.ll | 13 br i1 %cond, label %if.then, label %fallthrough 17 br label %fallthrough 19 fallthrough: 29 br i1 %cond, label %if.then, label %fallthrough 33 br label %fallthrough 35 fallthrough:
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue15838.dir/ |
a.go | 29 fallthrough 58 fallthrough
|
/prebuilts/go/linux-x86/test/fixedbugs/issue15838.dir/ |
a.go | 29 fallthrough 58 fallthrough
|