• Home
  • Raw
  • Download

Lines Matching +full:- +full:wimplicit +full:- +full:fallthrough

1 …cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -DCLANG_PREFIX -DCOMMAND_LINE_FALLTHRO…
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROU…
3 … RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCLANG_PREFIX -DCOMMAND_…
4 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROU…
5 …%clang_cc1 -fsyntax-only -verify -std=c++1z -Wimplicit-fallthrough -DCOMMAND_LINE_FALLTHROUGH=[[fa…
11-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'COMMAND_LINE_FAL… in fallthrough_compatibility_macro_from_command_line()
19 :: fallthrough ] ] // testing whitespace and comments in macro definition
22 fallthrough ] ] // testing whitespace and comments in macro definition
29-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'COMPATIBILITY_FA… in fallthrough_compatibility_macro_from_source()
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]]]
56-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'M1;' to silence … in fallthrough_compatibility_macro_in_macro()
74-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough_compatibility_macro_undefined()
76-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[fallthrough]];… in fallthrough_compatibility_macro_undefined()
80 #define TOO_LATE [[clang::fallthrough]] in fallthrough_compatibility_macro_undefined()
87 #define MACRO_WITH_HISTORY [[clang::fallthrough]]
97-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough_compatibility_macro_history()
99-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[fallthrough]];… in fallthrough_compatibility_macro_history()
102 #define MACRO_WITH_HISTORY [[clang::fallthrough]] in fallthrough_compatibility_macro_history()
110 #define MACRO_WITH_HISTORY [[clang::fallthrough]]
119 #define MACRO_WITH_HISTORY [[clang::fallthrough]] in fallthrough_compatibility_macro_history2()
120-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'MACRO_WITH_HISTO… in fallthrough_compatibility_macro_history2()
137 #define MACRO_WITH_HISTORY2 [[clang::fallthrough]] in fallthrough_compatibility_macro_history_template()
138-warning{{unannotated fall-through between switch labels}} expected-note{{insert 'MACRO_WITH_HISTO… in fallthrough_compatibility_macro_history_template()
152 …fallthrough_compatibility_macro_history_template<1>(0); // expected-note{{in instantiation of func… in f()