Home
last modified time | relevance | path

Searched defs:fail2 (Results 1 – 6 of 6) sorted by relevance

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsuspicious-semicolon.cpp33 void fail2() in fail2() function
/llvm-project/clang/test/SemaCXX/
H A Dconstexpr-frame-describe.cpp68 constexpr int fail2() const { return 1 / 0; } // expected-warning {{division by zero}} \ in fail2() function
H A Dalias-template.cpp165 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}} global() struct
H A Dcxx2a-consteval.cpp866 move<foo> fail2{static_cast<move<foo>&&>(good1)}; // expected-error {{call to consteval function 'defaulted_special_member_template::move<defaulted_special_member_template::foo func() local
H A Dconstant-expression-cxx11.cpp890 constexpr Base &fail2 = (Base&)*pb2; // expected-error {{constant expression}} expected-note {{cannot cast object of dynamic type 'const Derived' to type 'Base'}} global() variable
/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/
H A Dp6.cpp58 …const auto **fail2(p); // expected-error {{variable 'fail2' with type 'const auto **' has incompat… in f() local