/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]];
|
/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.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
|
switch-implicit-fallthrough-cxx98.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -Wimplicit-fallthrough %s 7 int fallthrough(int n) { function
|
ast-print.cpp | 204 // CHECK: {{\[\[clang::fallthrough\]\]}} 205 [[clang::fallthrough]];
|
/external/clang/test/Misc/ |
ast-dump-color.cpp | 12 [[clang::fallthrough]];
|
ast-dump-attr.cpp | 16 [[clang::fallthrough]];
|
/external/clang/test/Analysis/ |
cxx11-crashes.cpp | 91 void fallthrough() { function 94 [[clang::fallthrough]];
|
/prebuilts/misc/common/swig/include/2.0.11/go/ |
gokw.swg | 14 GOKW(fallthrough);
|
/external/chromium_org/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/clang/test/Parser/ |
ms-if-exists.cpp | 113 [[clang::fallthrough]] // expected-error {{an attribute list cannot appear here}}
|
/external/chromium_org/third_party/simplejson/ |
_speedups.c | 1696 int fallthrough = 0; local 1796 int fallthrough = 0; local [all...] |
/external/chromium_org/v8/src/ia32/ |
regexp-macro-assembler-ia32.cc | 191 Label fallthrough; local 193 __ j(not_equal, &fallthrough); 196 __ bind(&fallthrough); 203 Label fallthrough; local 215 __ j(equal, &fallthrough); 333 __ bind(&fallthrough); 340 Label fallthrough; local 351 __ j(equal, &fallthrough); 397 __ bind(&fallthrough); [all...] |
/external/chromium_org/v8/src/x64/ |
regexp-macro-assembler-x64.cc | 208 Label fallthrough; 210 __ j(not_equal, &fallthrough); 213 __ bind(&fallthrough); 220 Label fallthrough; 237 __ j(equal, &fallthrough); 360 __ bind(&fallthrough); 367 Label fallthrough; 380 __ j(equal, &fallthrough); 424 __ bind(&fallthrough); [all...] |
/external/chromium_org/v8/src/x87/ |
regexp-macro-assembler-x87.cc | 191 Label fallthrough; local 193 __ j(not_equal, &fallthrough); 196 __ bind(&fallthrough); 203 Label fallthrough; local 215 __ j(equal, &fallthrough); 333 __ bind(&fallthrough); 340 Label fallthrough; local 351 __ j(equal, &fallthrough); 397 __ bind(&fallthrough); [all...] |
/external/chromium_org/v8/src/arm/ |
regexp-macro-assembler-arm.cc | 227 Label fallthrough; 234 __ b(eq, &fallthrough); 328 __ bind(&fallthrough); 335 Label fallthrough; 343 __ b(eq, &fallthrough); 371 __ bind(&fallthrough); [all...] |
/external/chromium_org/v8/src/mips/ |
regexp-macro-assembler-mips.cc | 230 Label fallthrough; 237 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); 339 __ bind(&fallthrough); member in namespace:v8::internal 346 Label fallthrough; local 354 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); 384 __ 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...] |
/external/chromium_org/v8/src/arm64/ |
regexp-macro-assembler-arm64.cc | 285 Label fallthrough; local 303 __ Cbz(capture_length, &fallthrough); 406 __ Bind(&fallthrough); 412 Label fallthrough; local 429 __ Cbz(capture_length, &fallthrough); 467 __ Bind(&fallthrough); [all...] |
/external/valgrind/main/exp-bbv/tests/arm-linux/ |
ll.S | 398 b write_stdout @ else, fallthrough to stdout
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
CodeMirrorTextEditor.js | 93 fallthrough: "devtools-common" 111 fallthrough: "devtools-common" [all...] |
/prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/ |
clover-3.1.12.jar | |