Home
last modified time | relevance | path

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

12345678910>>...15

/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()
/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/tpm2-tss/src/tss2-fapi/api/
DFapi_Provision.c280 fallthrough; in Fapi_Provision_Finish()
293 fallthrough; in Fapi_Provision_Finish()
307 fallthrough; in Fapi_Provision_Finish()
318 fallthrough; in Fapi_Provision_Finish()
321 fallthrough; in Fapi_Provision_Finish()
347 fallthrough; in Fapi_Provision_Finish()
362 fallthrough; in Fapi_Provision_Finish()
390 fallthrough; in Fapi_Provision_Finish()
392 fallthrough; in Fapi_Provision_Finish()
415 fallthrough; in Fapi_Provision_Finish()
[all …]
DFapi_ChangeAuth.c313 fallthrough; in Fapi_ChangeAuth_Finish()
321 fallthrough; in Fapi_ChangeAuth_Finish()
339 fallthrough; in Fapi_ChangeAuth_Finish()
370 fallthrough; in Fapi_ChangeAuth_Finish()
396 fallthrough; in Fapi_ChangeAuth_Finish()
409 fallthrough; in Fapi_ChangeAuth_Finish()
417 fallthrough; in Fapi_ChangeAuth_Finish()
441 fallthrough; in Fapi_ChangeAuth_Finish()
459 fallthrough; in Fapi_ChangeAuth_Finish()
494 fallthrough; in Fapi_ChangeAuth_Finish()
[all …]
DFapi_WriteAuthorizeNV.c243 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
257 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
274 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
293 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
301 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
308 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
316 fallthrough; in Fapi_WriteAuthorizeNv_Finish()
DFapi_CreateNv.c307 fallthrough; in Fapi_CreateNv_Finish()
328 fallthrough; in Fapi_CreateNv_Finish()
360 fallthrough; in Fapi_CreateNv_Finish()
372 fallthrough; in Fapi_CreateNv_Finish()
386 fallthrough; in Fapi_CreateNv_Finish()
395 fallthrough; in Fapi_CreateNv_Finish()
411 fallthrough; in Fapi_CreateNv_Finish()
437 fallthrough; in Fapi_CreateNv_Finish()
DFapi_Quote.c327 fallthrough; in Fapi_Quote_Finish()
342 fallthrough; in Fapi_Quote_Finish()
351 fallthrough; in Fapi_Quote_Finish()
367 fallthrough; in Fapi_Quote_Finish()
381 fallthrough; in Fapi_Quote_Finish()
420 fallthrough; in Fapi_Quote_Finish()
426 fallthrough; in Fapi_Quote_Finish()
DFapi_ExportKey.c345 fallthrough; in Fapi_ExportKey_Finish()
363 fallthrough; in Fapi_ExportKey_Finish()
370 fallthrough; in Fapi_ExportKey_Finish()
394 fallthrough; in Fapi_ExportKey_Finish()
417 fallthrough; in Fapi_ExportKey_Finish()
425 fallthrough; in Fapi_ExportKey_Finish()
433 fallthrough; in Fapi_ExportKey_Finish()
DFapi_Initialize.c206 fallthrough; in Fapi_Initialize_Finish()
231 fallthrough; in Fapi_Initialize_Finish()
240 fallthrough; in Fapi_Initialize_Finish()
264 fallthrough; in Fapi_Initialize_Finish()
274 fallthrough; in Fapi_Initialize_Finish()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DDemangleConfig.h75 #if __cplusplus > 201402L && __has_cpp_attribute(fallthrough)
76 #define DEMANGLE_FALLTHROUGH [[fallthrough]]
77 #elif __has_cpp_attribute(gnu::fallthrough)
78 #define DEMANGLE_FALLTHROUGH [[gnu::fallthrough]]
83 #elif __has_cpp_attribute(clang::fallthrough)
84 #define DEMANGLE_FALLTHROUGH [[clang::fallthrough]]
/external/icing/icing/tokenization/
Draw-query-tokenizer.cc360 [[fallthrough]]; in IsContentTermType()
362 [[fallthrough]]; in IsContentTermType()
366 [[fallthrough]]; in IsContentTermType()
368 [[fallthrough]]; in IsContentTermType()
370 [[fallthrough]]; in IsContentTermType()
372 [[fallthrough]]; in IsContentTermType()
374 [[fallthrough]]; in IsContentTermType()
376 [[fallthrough]]; in IsContentTermType()
398 [[fallthrough]]; in GetContentTerm()
400 [[fallthrough]]; in GetContentTerm()
[all …]
/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/tpm2-tss/src/tss2-fapi/
Difapi_policy_execute.c212 fallthrough; in execute_policy_pcr()
270 fallthrough; in execute_policy_duplicate()
321 fallthrough; in execute_policy_nv()
343 fallthrough; in execute_policy_nv()
423 fallthrough; in execute_policy_signed()
466 fallthrough; in execute_policy_signed()
482 fallthrough; in execute_policy_signed()
491 fallthrough; in execute_policy_signed()
589 fallthrough; in execute_policy_authorize()
625 fallthrough; in execute_policy_authorize()
[all …]
Difapi_policy.c83 fallthrough; in ifapi_calculate_tree()
88 fallthrough; in ifapi_calculate_tree()
94 fallthrough; in ifapi_calculate_tree()
110 fallthrough; in ifapi_calculate_tree()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCompiler.h270 #if __cplusplus > 201402L && LLVM_HAS_CPP_ATTRIBUTE(fallthrough)
271 #define LLVM_FALLTHROUGH [[fallthrough]]
272 #elif LLVM_HAS_CPP_ATTRIBUTE(gnu::fallthrough)
273 #define LLVM_FALLTHROUGH [[gnu::fallthrough]]
274 #elif __has_attribute(fallthrough)
275 #define LLVM_FALLTHROUGH __attribute__((fallthrough))
276 #elif LLVM_HAS_CPP_ATTRIBUTE(clang::fallthrough)
277 #define LLVM_FALLTHROUGH [[clang::fallthrough]]
/external/icing/icing/result/
Dsnippet-retriever.cc88 [[fallthrough]]; in NormalizeToken()
90 [[fallthrough]]; in NormalizeToken()
92 [[fallthrough]]; in NormalizeToken()
94 [[fallthrough]]; in NormalizeToken()
96 [[fallthrough]]; in NormalizeToken()
120 [[fallthrough]]; in FindMatchEnd()
122 [[fallthrough]]; in FindMatchEnd()
124 [[fallthrough]]; in FindMatchEnd()
126 [[fallthrough]]; in FindMatchEnd()
128 [[fallthrough]]; in FindMatchEnd()
[all …]
/external/icing/icing/scoring/
Dscorer.cc183 [[fallthrough]]; in Create()
185 [[fallthrough]]; in Create()
187 [[fallthrough]]; in Create()
189 [[fallthrough]]; in Create()
191 [[fallthrough]]; in Create()
/external/angle/third_party/abseil-cpp/absl/base/
Dattributes.h631 #elif ABSL_HAVE_CPP_ATTRIBUTE(fallthrough)
632 #define ABSL_FALLTHROUGH_INTENDED [[fallthrough]]
633 #elif ABSL_HAVE_CPP_ATTRIBUTE(clang::fallthrough)
634 #define ABSL_FALLTHROUGH_INTENDED [[clang::fallthrough]]
635 #elif ABSL_HAVE_CPP_ATTRIBUTE(gnu::fallthrough)
636 #define ABSL_FALLTHROUGH_INTENDED [[gnu::fallthrough]]
/external/webrtc/third_party/abseil-cpp/absl/base/
Dattributes.h627 #elif ABSL_HAVE_CPP_ATTRIBUTE(fallthrough)
628 #define ABSL_FALLTHROUGH_INTENDED [[fallthrough]]
629 #elif ABSL_HAVE_CPP_ATTRIBUTE(clang::fallthrough)
630 #define ABSL_FALLTHROUGH_INTENDED [[clang::fallthrough]]
631 #elif ABSL_HAVE_CPP_ATTRIBUTE(gnu::fallthrough)
632 #define ABSL_FALLTHROUGH_INTENDED [[gnu::fallthrough]]
/external/abseil-cpp/absl/base/
Dattributes.h627 #elif ABSL_HAVE_CPP_ATTRIBUTE(fallthrough)
628 #define ABSL_FALLTHROUGH_INTENDED [[fallthrough]]
629 #elif ABSL_HAVE_CPP_ATTRIBUTE(clang::fallthrough)
630 #define ABSL_FALLTHROUGH_INTENDED [[clang::fallthrough]]
631 #elif ABSL_HAVE_CPP_ATTRIBUTE(gnu::fallthrough)
632 #define ABSL_FALLTHROUGH_INTENDED [[gnu::fallthrough]]

12345678910>>...15