/prebuilts/go/darwin-x86/test/fixedbugs/ |
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"
|
bug495.go | 17 fallthrough
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
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"
|
bug495.go | 17 fallthrough
|
/external/clang/test/PCH/Inputs/ |
cxx11-statement-attributes.h | 7 [[clang::fallthrough]]; // This shouldn't generate a warning. 10 [[clang::fallthrough]]; // This should generate a warning: "fallthrough annotation does not directly precede switch label".
|
/external/clang/test/PCH/ |
stmt-attrs.cpp | 11 // CHECK: {{\[\[clang::fallthrough\]\] \[\[clang::fallthrough\]\]}} 12 [[clang::fallthrough]] [[clang::fallthrough]];
|
cxx11-statement-attributes.cpp | 2 // RUN: %clang_cc1 -include %S/Inputs/cxx11-statement-attributes.h -std=c++11 -Wimplicit-fallthrough -fsyntax-only %s -o - -verify 5 // RUN: %clang_cc1 -include-pch %t -std=c++11 -Wimplicit-fallthrough -fsyntax-only %s -o - -verify 7 // expected-warning@Inputs/cxx11-statement-attributes.h:10 {{fallthrough annotation does not directly precede switch label}}
|
/external/clang/test/SemaCXX/ |
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}} 45 [[fallthrough]]; // expected-warning{{unknown attribute 'fallthrough' ignored}} 46 case 2: // expected-warning{{unannotated fall-through}} expected-note{{clang::fallthrough}} expected-note{{break;}} 47 [[clang::fallthrough]];
|
switch-implicit-fallthrough-macro.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROUGH=[[clang::fallthrough]] %s 14 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough") 16 :: fallthrough ] ] // testing whitespace and comments in macro definition 35 #define M1 [[clang::fallthrough]] 42 #define WRONG_MACRO1 clang::fallthrough 43 #define WRONG_MACRO2 [[clang::fallthrough] 45 #define WRONG_MACRO4 [[clang::fallthrough]]] 67 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}} 70 #define TOO_LATE [[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
|
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...] |
/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-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:
|
/external/llvm/test/Transforms/SimplifyCFG/ |
merge-cond-stores.ll | 16 br i1 %x1, label %fallthrough, label %yes1 20 br label %fallthrough 22 fallthrough: 42 br i1 %x1, label %fallthrough, label %yes1 46 br label %fallthrough 48 fallthrough: 86 br i1 %x1, label %fallthrough, label %yes1 93 br label %fallthrough 95 fallthrough: 119 br i1 %x1, label %fallthrough, label %yes [all...] |
/external/conscrypt/src/main/native/ |
macros.h | 26 // expanded to [[clang::fallthrough]] attribute, which is analysed when 27 // performing switch labels fall-through diagnostic ('-Wimplicit-fallthrough'). 37 #if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough") 38 #define FALLTHROUGH_INTENDED [[clang::fallthrough]] // NOLINT
|
/external/clang/test/Preprocessor/ |
has_attribute.cpp | 9 #if __has_cpp_attribute(clang::fallthrough) 26 #if !__has_cpp_attribute(__clang__::fallthrough) 66 #if !__has_declspec_attribute(fallthrough)
|
/external/mesa3d/src/mesa/main/ |
texformat.c | 204 ; /* fallthrough */ 221 ; /* fallthrough */ 270 ; /* fallthrough */ 279 ; /* fallthrough */ 302 ; /* fallthrough */ 323 ; /* fallthrough */ 338 ; /* fallthrough */ 414 ; /* fallthrough */ 424 ; /* fallthrough */ 434 ; /* fallthrough */ [all...] |
/external/webrtc/webrtc/ |
typedefs.h | 93 // Macro to be used for switch-case fallthrough (required for enabling 94 // -Wimplicit-fallthrough warning on Clang). 95 #ifndef FALLTHROUGH 97 #define FALLTHROUGH() [[clang::fallthrough]] 99 #define FALLTHROUGH() do { } while (0)
|
/external/e2fsprogs/lib/e2p/ |
parse_num.c | 29 /* fallthrough */ 32 /* fallthrough */ 35 /* fallthrough */
|
/external/iproute2/examples/bpf/ |
bpf_graft.c | 14 * Socket Thread-20229 [001] ..s. 138993.003923: : fallthrough 15 * <idle>-0 [001] ..s. 138993.202265: : fallthrough 16 * Socket Thread-20229 [001] ..s. 138994.004149: : fallthrough 59 char fmt[] = "fallthrough\n";
|