/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/ |
D | p1.cpp | 7 [[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/ |
D | switch-implicit-fallthrough.cpp | 4 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 …]
|
D | switch-implicit-fallthrough-macro.cpp | 19 :: 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 …]
|
D | switch-implicit-fallthrough-per-method.cpp | 4 int fallthrough(int n) { in fallthrough() function 12 [[clang::fallthrough]]; in fallthrough() 44 [[fallthrough]]; in unscoped() 46 [[clang::fallthrough]]; in unscoped()
|
D | switch-implicit-fallthrough-off-by-default.cpp | 4 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/ |
D | sink-addrmode-base.ll | 13 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 …]
|
D | sink-addrmode.ll | 16 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 …]
|
D | sink-addrspacecast.ll | 14 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/ |
D | sink-addrmode.ll | 14 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 …]
|
D | sink-addrspacecast.ll | 13 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/ |
D | merge-cond-stores.ll | 16 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/ |
D | merge-cond-stores.ll | 21 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/ |
D | nonintegral.ll | 17 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/ |
D | Compiler.h | 79 #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/ |
D | has_attribute.cpp | 9 #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/ |
D | branch-opt.ll | 90 ; 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/ |
D | bitcast-di.ll | 18 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/ |
D | builtins-lazy-gen.cc | 44 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/ |
D | Compiler.h | 231 #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/ |
D | stmt-attrs.cpp | 12 [[clang::fallthrough]] [[clang::fallthrough]]; in test()
|
/external/clang/utils/TableGen/ |
D | Android.bp | 12 "-Wno-implicit-fallthrough", 13 // NeonEmitter.cpp has several -Wimplicit-fallthrough.
|
/external/libtextclassifier/utils/base/ |
D | macros.h | 73 #define TC3_FALLTHROUGH_INTENDED [[clang::fallthrough]] 76 #define TC3_FALLTHROUGH_INTENDED [[gnu::fallthrough]]
|
/external/tinyxml2/ |
D | Android.bp | 15 "-Wno-implicit-fallthrough", 16 // tinyxml2.cpp line 436, 441, 446 have -Wimplicit-fallthrough.
|
/external/jsoncpp/ |
D | Android.bp | 22 "-Wno-implicit-fallthrough", 23 // src/lib_json/json_reader.cpp:210 has -Wno-implicit-fallthrough
|
/external/deqp-deps/glslang/ |
D | Android.bp | 52 "-Wno-implicit-fallthrough", 75 "-Wno-implicit-fallthrough", 126 "-Wno-implicit-fallthrough",
|