/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()
|
/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/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_Provision.c | 280 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 …]
|
D | Fapi_ChangeAuth.c | 313 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 …]
|
D | Fapi_WriteAuthorizeNV.c | 243 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()
|
D | Fapi_CreateNv.c | 307 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()
|
D | Fapi_Quote.c | 327 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()
|
D | Fapi_ExportKey.c | 345 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()
|
D | Fapi_Initialize.c | 206 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/ |
D | DemangleConfig.h | 75 #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/ |
D | raw-query-tokenizer.cc | 360 [[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/ |
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/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy_execute.c | 212 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 …]
|
D | ifapi_policy.c | 83 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/ |
D | Compiler.h | 270 #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/ |
D | snippet-retriever.cc | 88 [[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/ |
D | scorer.cc | 183 [[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/ |
D | attributes.h | 631 #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/ |
D | attributes.h | 627 #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/ |
D | attributes.h | 627 #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]]
|