/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...] |
ast-print.cpp | 204 // CHECK: {{\[\[clang::fallthrough\]\]}} 205 [[clang::fallthrough]];
|
switch-implicit-fallthrough-cxx98.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -Wimplicit-fallthrough %s 7 int fallthrough(int n) { function
|
/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/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/vixl/src/vixl/ |
globals.h | 112 // The clang::fallthrough attribute is used along with the Wimplicit-fallthrough 115 // http://clang.llvm.org/docs/AttributeReference.html#fallthrough-clang-fallthrough 122 #if __has_warning("-Wimplicit-fallthrough") && __cplusplus >= 201103L 123 #define VIXL_FALLTHROUGH() [[clang::fallthrough]] //NOLINT
|
/external/e2fsprogs/lib/e2p/ |
parse_num.c | 29 /* fallthrough */ 32 /* fallthrough */ 35 /* fallthrough */
|
/prebuilts/misc/common/swig/include/2.0.11/go/ |
gokw.swg | 14 GOKW(fallthrough);
|
/bionic/libc/dns/nameser/ |
ns_ttl.c | 119 case 'W': tmp *= 7; /*FALLTHROUGH*/ 120 case 'D': tmp *= 24; /*FALLTHROUGH*/ 121 case 'H': tmp *= 60; /*FALLTHROUGH*/ 122 case 'M': tmp *= 60; /*FALLTHROUGH*/
|
/external/skia/src/gpu/ |
GrBlend.cpp | 69 dstColor = ~dstColor; // fallthrough 81 dstColor = ~dstColor; // fallthrough 93 constantColor = ~constantColor; // fallthrough 103 constantColor = ~constantColor; // fallthrough
|
/external/clang/test/Analysis/ |
cxx11-crashes.cpp | 91 void fallthrough() { function 94 [[clang::fallthrough]];
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
BodyDescriptor.java | 217 boolean fallThrough = false; 229 fallThrough = true; 232 if (!fallThrough) 238 fallThrough = false; 247 fallThrough = true; 253 if (!fallThrough)
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
BodyDescriptor.java | 217 boolean fallThrough = false; 229 fallThrough = true; 232 if (!fallThrough) 238 fallThrough = false; 247 fallThrough = true; 253 if (!fallThrough)
|
/external/v8/test/mjsunit/ |
switch.js | 126 assertEquals(3, f4(0), "fallthrough-switch.0"); 127 assertEquals(3, f4(1), "fallthrough-switch.1"); 128 assertEquals(3, f4(2), "fallthrough-switch.2"); 129 assertEquals(5, f4(3), "fallthrough-switch.3"); 142 assertEquals(2, f4_string('zero', 0), "fallthrough-string-switch.0"); 143 assertEquals(1, f4_string('one', 1), "fallthrough-string-switch.1"); 144 assertEquals(3, f4_string('two', 2), "fallthrough-string-switch.2"); 147 assertEquals(2, f4_string('_zero'.slice(1), 0), "fallthrough-string-switch.3"); 148 assertEquals(1, f4_string('_one'.slice(1), 1), "fallthrough-string-switch.4"); 149 assertEquals(3, f4_string('_two'.slice(1), 2), "fallthrough-string-switch.5") [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_maos_arrays.c | 95 /* fallthrough */ 163 /* fallthrough */ 166 /* fallthrough */ 169 /* fallthrough */
|
/external/vixl/ |
Android.mk | 120 LOCAL_CLANG_CFLAGS := -Wimplicit-fallthrough 134 LOCAL_CLANG_CFLAGS := -Wimplicit-fallthrough 149 LOCAL_CLANG_CFLAGS := -Wimplicit-fallthrough 164 LOCAL_CLANG_CFLAGS := -Wimplicit-fallthrough 185 LOCAL_CLANG_CFLAGS := -Wimplicit-fallthrough
|
/frameworks/base/core/java/android/util/ |
KeyValueListParser.java | 77 // fallthrough 95 // fallthrough
|