Home
last modified time | relevance | path

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

12345678910>>...12

/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/
Dp1.cpp7 [[fallthrough]]; // ok in f()
10 [[fallthrough]]; // ok in f()
16 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
19 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
22 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
24 do [[fallthrough]]; while (true); // expected-error {{does not directly precede switch label}} in f()
26 do [[fallthrough]]; while (false); // expected-error {{does not directly precede switch label}} in f()
32 [[fallthrough]]; in f()
35 [[fallthrough]]; // expected-error {{does not directly precede switch label}} in f()
46 [[fallthrough]] typedef int n; // expected-error {{'fallthrough' attribute cannot be applied to a d…
[all …]
/external/clang/test/SemaCXX/
Dswitch-implicit-fallthrough.cpp4 int fallthrough(int n) { in fallthrough() function
55 [[clang::fallthrough]]; in fallthrough()
58 [[clang::fallthrough]]; in fallthrough()
63 [[clang::fallthrough]]; in fallthrough()
70 [[clang::fallthrough]]; in fallthrough()
183 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position()
186 [[clang::fallthrough]]; // expected-warning{{fallthrough annotation in unreachable code}} in fallthrough_position()
197 [[clang::fallthrough]]; // no warning here in fallthrough_position()
200 [[clang::fallthrough]]; // no warning here in fallthrough_position()
218 [[clang::fallthrough]]; // no warning here, this shouldn't be treated as unreachable code in fallthrough_covered_enums()
[all …]
Dswitch-implicit-fallthrough-macro.cpp19 :: fallthrough ] ] // testing whitespace and comments in macro definition
22 fallthrough ] ] // testing whitespace and comments in macro definition
37 #define M1 [[clang::fallthrough]]
39 #define M1 [[fallthrough]]
47 #define WRONG_MACRO1 clang::fallthrough
48 #define WRONG_MACRO2 [[clang::fallthrough]
50 #define WRONG_MACRO4 [[clang::fallthrough]]]
80 #define TOO_LATE [[clang::fallthrough]] in fallthrough_compatibility_macro_undefined()
87 #define MACRO_WITH_HISTORY [[clang::fallthrough]]
102 #define MACRO_WITH_HISTORY [[clang::fallthrough]] in fallthrough_compatibility_macro_history()
[all …]
Dswitch-implicit-fallthrough-per-method.cpp4 int fallthrough(int n) { in fallthrough() function
12 [[clang::fallthrough]]; in fallthrough()
44 [[fallthrough]]; in unscoped()
46 [[clang::fallthrough]]; in unscoped()
Dswitch-implicit-fallthrough-off-by-default.cpp4 void fallthrough(int n) { in fallthrough() function
9 [[fallthrough]]; // expected-no-diagnostics, only checked when UNREACHABLE=0 in fallthrough()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/X86/
Dsink-addrmode-base.ll13 br i1 %cond, label %if.then, label %fallthrough
18 br label %fallthrough
20 fallthrough:
22 ; CHECK-NO-LABEL: fallthrough:
36 br i1 %cond, label %if.then, label %fallthrough
41 br label %fallthrough
43 fallthrough:
57 br i1 %cond, label %if.then, label %fallthrough
62 br label %fallthrough
64 fallthrough:
[all …]
Dsink-addrmode.ll16 br i1 %cond, label %if.then, label %fallthrough
20 br label %fallthrough
22 fallthrough:
34 br i1 %cond, label %if.then, label %fallthrough
42 br i1 %cmp, label %next, label %fallthrough
49 br label %fallthrough
51 fallthrough:
62 br i1 %cond, label %if.then, label %fallthrough
72 br label %fallthrough
74 fallthrough:
[all …]
Dsink-addrspacecast.ll14 br i1 %cond, label %if.then, label %fallthrough
18 br label %fallthrough
20 fallthrough:
31 br i1 %cond, label %if.then, label %fallthrough
35 br label %fallthrough
37 fallthrough:
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dsink-addrmode.ll14 br i1 %cond, label %if.then, label %fallthrough
18 br label %fallthrough
20 fallthrough:
32 br i1 %cond, label %if.then, label %fallthrough
40 br i1 %cmp, label %next, label %fallthrough
47 br label %fallthrough
49 fallthrough:
60 br i1 %cond, label %if.then, label %fallthrough
70 br label %fallthrough
72 fallthrough:
[all …]
Dsink-addrspacecast.ll13 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/llvm/test/Transforms/SimplifyCFG/
Dmerge-cond-stores.ll16 br i1 %x1, label %fallthrough, label %yes1
20 br label %fallthrough
22 fallthrough:
42 br i1 %x1, label %fallthrough, label %yes1
46 br label %fallthrough
48 fallthrough:
86 br i1 %x1, label %fallthrough, label %yes1
93 br label %fallthrough
95 fallthrough:
119 br i1 %x1, label %fallthrough, label %yes1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
Dmerge-cond-stores.ll21 br i1 %x1, label %fallthrough, label %yes1
25 br label %fallthrough
27 fallthrough:
54 br i1 %x1, label %yes1, label %fallthrough
58 br label %fallthrough
60 fallthrough:
94 br i1 %x1, label %fallthrough, label %yes1
98 br label %fallthrough
100 fallthrough:
142 ; CHECK: fallthrough:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/
Dnonintegral.ll17 br i1 %cond, label %if.then, label %fallthrough
21 br label %fallthrough
23 fallthrough:
39 br i1 %cond, label %if.then, label %fallthrough
43 br label %fallthrough
45 fallthrough:
60 br i1 %cond, label %if.then, label %fallthrough
64 br label %fallthrough
66 fallthrough:
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DCompiler.h79 #if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
80 #define LLVM_FALLTHROUGH [[fallthrough]]
81 #elif __has_cpp_attribute(gnu::fallthrough)
82 #define LLVM_FALLTHROUGH [[gnu::fallthrough]]
87 #elif __has_cpp_attribute(clang::fallthrough)
88 #define LLVM_FALLTHROUGH [[clang::fallthrough]]
/external/clang/test/Preprocessor/
Dhas_attribute.cpp9 #if __has_cpp_attribute(clang::fallthrough)
26 #if !__has_cpp_attribute(__clang__::fallthrough)
61 #if __has_cpp_attribute(fallthrough) == 201603
76 #if !__has_declspec_attribute(fallthrough)
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dbranch-opt.ll90 ; For a conditional branch with a fallthrough to the next block, the
91 ; fallthrough branch should be removed.
95 br i1 %cmp, label %target, label %fallthrough
96 fallthrough:
148 ; MIPS32O2: .LtestCondFallthroughToNextBlock$fallthrough
167 ; MIPS32OM1: .LtestCondFallthroughToNextBlock$fallthrough
179 ; different block as the fallthrough, the branch condition should be
180 ; inverted, the fallthrough block changed to the target, and the
185 br i1 %cmp, label %fallthrough, label %target
186 fallthrough:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Dbitcast-di.ll18 br i1 %cond, label %if.then, label %fallthrough
26 br i1 %cmp, label %rare.1, label %fallthrough
28 fallthrough:
35 br label %fallthrough
/external/v8/src/builtins/
Dbuiltins-lazy-gen.cc44 Label fallthrough(this); in MaybeTailCallOptimizedCodeSlot() local
63 &fallthrough); in MaybeTailCallOptimizedCodeSlot()
82 Goto(&fallthrough); in MaybeTailCallOptimizedCodeSlot()
89 CAST(ToWeakHeapObject(maybe_optimized_code_entry, &fallthrough)); in MaybeTailCallOptimizedCodeSlot()
116 BIND(&fallthrough); in MaybeTailCallOptimizedCodeSlot()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCompiler.h231 #if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
232 #define LLVM_FALLTHROUGH [[fallthrough]]
233 #elif __has_cpp_attribute(gnu::fallthrough)
234 #define LLVM_FALLTHROUGH [[gnu::fallthrough]]
239 #elif __has_cpp_attribute(clang::fallthrough)
240 #define LLVM_FALLTHROUGH [[clang::fallthrough]]
/external/clang/test/PCH/
Dstmt-attrs.cpp12 [[clang::fallthrough]] [[clang::fallthrough]]; in test()
/external/clang/utils/TableGen/
DAndroid.bp12 "-Wno-implicit-fallthrough",
13 // NeonEmitter.cpp has several -Wimplicit-fallthrough.
/external/libtextclassifier/utils/base/
Dmacros.h73 #define TC3_FALLTHROUGH_INTENDED [[clang::fallthrough]]
76 #define TC3_FALLTHROUGH_INTENDED [[gnu::fallthrough]]
/external/tinyxml2/
DAndroid.bp15 "-Wno-implicit-fallthrough",
16 // tinyxml2.cpp line 436, 441, 446 have -Wimplicit-fallthrough.
/external/jsoncpp/
DAndroid.bp22 "-Wno-implicit-fallthrough",
23 // src/lib_json/json_reader.cpp:210 has -Wno-implicit-fallthrough
/external/deqp-deps/glslang/
DAndroid.bp52 "-Wno-implicit-fallthrough",
75 "-Wno-implicit-fallthrough",
126 "-Wno-implicit-fallthrough",

12345678910>>...12