Searched refs:fallthrough (Results 1 - 25 of 25) sorted by relevance

/external/clang/test/PCH/Inputs/
H A Dcxx11-statement-attributes.h7 [[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/
H A Dstmt-attrs.cpp11 // CHECK: {{\[\[clang::fallthrough\]\] \[\[clang::fallthrough\]\]}}
12 [[clang::fallthrough]] [[clang::fallthrough]];
/external/clang/test/SemaCXX/
H A Dswitch-implicit-fallthrough-per-method.cpp1 // 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]];
H A Dswitch-implicit-fallthrough-macro.cpp1 // 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...]
H A Dswitch-implicit-fallthrough.cpp1 // 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...]
H A Dswitch-implicit-fallthrough-blocks.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 -Wimplicit-fallthrough %s
9 [[clang::fallthrough]]; // no diagnostics
H A Dswitch-implicit-fallthrough-cxx98.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -Wimplicit-fallthrough %s
7 int fallthrough(int n) { function
H A Dast-print.cpp204 // CHECK: {{\[\[clang::fallthrough\]\]}}
205 [[clang::fallthrough]];
/external/clang/test/Misc/
H A Dast-dump-color.cpp12 [[clang::fallthrough]];
H A Dast-dump-attr.cpp16 [[clang::fallthrough]];
/external/clang/test/Analysis/
H A Dcxx11-crashes.cpp91 void fallthrough() { function
94 [[clang::fallthrough]];
/external/clang/test/Parser/
H A Dms-if-exists.cpp113 [[clang::fallthrough]] // expected-error {{an attribute list cannot appear here}}
/external/chromium_org/third_party/simplejson/
H A D_speedups.c1696 int fallthrough = 0; local
1727 fallthrough = 1;
1737 fallthrough = 1;
1747 fallthrough = 1;
1755 fallthrough = 1;
1763 fallthrough = 1;
1771 fallthrough = 1;
1774 fallthrough = 1;
1777 if (fallthrough)
1796 int fallthrough local
[all...]
/external/chromium_org/v8/src/ia32/
H A Dregexp-macro-assembler-ia32.cc192 Label fallthrough; local
194 __ j(not_equal, &fallthrough);
197 __ bind(&fallthrough);
204 Label fallthrough; local
216 __ j(equal, &fallthrough);
334 __ bind(&fallthrough);
341 Label fallthrough; local
352 __ j(equal, &fallthrough);
398 __ bind(&fallthrough);
/external/chromium_org/v8/src/x64/
H A Dregexp-macro-assembler-x64.cc208 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);
/external/chromium_org/v8/src/x87/
H A Dregexp-macro-assembler-x87.cc191 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);
/external/chromium_org/v8/src/arm/
H A Dregexp-macro-assembler-arm.cc228 Label fallthrough;
235 __ b(eq, &fallthrough);
329 __ bind(&fallthrough);
336 Label fallthrough;
344 __ b(eq, &fallthrough);
372 __ bind(&fallthrough);
/external/chromium_org/v8/src/mips/
H A Dregexp-macro-assembler-mips.cc231 Label fallthrough;
238 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
340 __ bind(&fallthrough); member in namespace:v8::internal
347 Label fallthrough; local
355 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
385 __ bind(&fallthrough);
/external/chromium_org/v8/src/mips64/
H A Dregexp-macro-assembler-mips64.cc267 Label fallthrough;
274 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
376 __ bind(&fallthrough); member in namespace:v8::internal
383 Label fallthrough; local
391 __ Branch(&fallthrough, eq, a1, Operand(zero_reg));
421 __ bind(&fallthrough);
/external/chromium_org/v8/src/arm64/
H A Dregexp-macro-assembler-arm64.cc286 Label fallthrough; local
304 __ Cbz(capture_length, &fallthrough);
410 __ Bind(&fallthrough);
416 Label fallthrough; local
433 __ Cbz(capture_length, &fallthrough);
471 __ Bind(&fallthrough);
/external/valgrind/main/exp-bbv/tests/arm-linux/
H A Dll.S398 b write_stdout @ else, fallthrough to stdout
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js4666 fallthrough: "basic"
4676 fallthrough: ["basic", "emacsy"]
4697 // to false stopping further handling and keymap fallthrough.
4706 var fallthrough = map.fallthrough;
4707 if (fallthrough == null) return false;
4708 if (Object.prototype.toString.call(fallthrough) != "[object Array]")
4709 return lookup(fallthrough);
4710 for (var i = 0; i < fallthrough.length; ++i) {
4711 var done = lookup(fallthrough[
[all...]
/external/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js4666 fallthrough: "basic"
4676 fallthrough: ["basic", "emacsy"]
4697 // to false stopping further handling and keymap fallthrough.
4706 var fallthrough = map.fallthrough;
4707 if (fallthrough == null) return false;
4708 if (Object.prototype.toString.call(fallthrough) != "[object Array]")
4709 return lookup(fallthrough);
4710 for (var i = 0; i < fallthrough.length; ++i) {
4711 var done = lookup(fallthrough[
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DCodeMirrorTextEditor.js96 fallthrough: "devtools-common"
118 fallthrough: "devtools-common"
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dcodemirror.js4868 fallthrough: "basic"
4878 fallthrough: ["basic", "emacsy"]
4899 // to false stopping further handling and keymap fallthrough.
4908 var fallthrough = map.fallthrough;
4909 if (fallthrough == null) return false;
4910 if (Object.prototype.toString.call(fallthrough) != "[object Array]")
4911 return lookup(fallthrough);
4912 for (var i = 0; i < fallthrough.length; ++i) {
4913 var done = lookup(fallthrough[
[all...]

Completed in 483 milliseconds