HomeSort by relevance Sort by last modified time
    Searched refs:fallthrough (Results 1 - 25 of 29) sorted by null

1 2

  /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 192 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);
    [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 228 Label fallthrough;
235 __ b(eq, &fallthrough);
329 __ bind(&fallthrough);
336 Label fallthrough;
344 __ b(eq, &fallthrough);
372 __ bind(&fallthrough);
    [all...]
  /external/chromium_org/v8/src/mips/
regexp-macro-assembler-mips.cc 231 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);
    [all...]
  /external/chromium_org/v8/src/mips64/
regexp-macro-assembler-mips64.cc 267 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);
    [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 286 Label fallthrough; local
304 __ Cbz(capture_length, &fallthrough);
410 __ Bind(&fallthrough);
416 Label fallthrough; local
433 __ Cbz(capture_length, &fallthrough);
471 __ 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 96 fallthrough: "devtools-common"
118 fallthrough: "devtools-common"
    [all...]

Completed in 919 milliseconds

1 2