/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/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.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-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-cxx98.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -Wimplicit-fallthrough %s 7 int fallthrough(int n) { function
|
/external/clang/test/Misc/ |
ast-dump-color.cpp | 12 [[clang::fallthrough]];
|
ast-dump-attr.cpp | 16 [[clang::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/v8/src/ia32/ |
regexp-macro-assembler-ia32.cc | 288 Label fallthrough; local 290 __ j(not_equal, &fallthrough); 293 __ bind(&fallthrough); 300 Label fallthrough; local 312 __ j(equal, &fallthrough); 417 __ bind(&fallthrough); 424 Label fallthrough; local 435 __ j(equal, &fallthrough); 481 __ bind(&fallthrough); [all...] |
/external/v8/src/x64/ |
regexp-macro-assembler-x64.cc | 319 Label fallthrough; 321 __ j(not_equal, &fallthrough); 324 __ bind(&fallthrough); 331 Label fallthrough; 348 __ j(equal, &fallthrough); 458 __ bind(&fallthrough); 465 Label fallthrough; 478 __ j(equal, &fallthrough); 522 __ bind(&fallthrough); [all...] |
/external/v8/src/arm/ |
regexp-macro-assembler-arm.cc | 292 Label fallthrough; 299 __ b(eq, &fallthrough); 388 __ bind(&fallthrough); 395 Label fallthrough; local 403 __ b(eq, &fallthrough); 431 __ bind(&fallthrough); [all...] |
/external/v8/src/mips/ |
regexp-macro-assembler-mips.cc | 295 Label fallthrough; 302 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); 398 __ bind(&fallthrough); 405 Label fallthrough; local 413 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); 443 __ bind(&fallthrough); [all...] |
/frameworks/base/tools/aidl/ |
generate_java_rpc.cpp | 268 IfStatement* fallthrough = new IfStatement(); local 269 fallthrough->statements = new StatementBlock; 270 fallthrough->statements->Add(new ReturnStatement( 275 this->dispatchIfStatement->elseif = fallthrough; [all...] |
/dalvik/vm/mterp/mips/ |
footer.S | 303 # NOTE: intended fallthrough 333 GOTO_OPCODE(t0) # if not threshold, fallthrough otherwise 442 # Intentional fallthrough [all...] |
/dalvik/vm/mterp/armv5te/ |
footer.S | 304 @ NOTE: intended fallthrough 330 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */ 432 @ intentional fallthrough [all...] |
/external/valgrind/main/exp-bbv/tests/arm-linux/ |
ll.S | 398 b write_stdout @ else, fallthrough to stdout
|
/dalvik/vm/mterp/out/ |
InterpAsm-mips.S | [all...] |
InterpAsm-armv5te-vfp.S | [all...] |
InterpAsm-armv5te.S | [all...] |
InterpAsm-armv7-a-neon.S | [all...] |
InterpAsm-armv7-a.S | [all...] |