Home
last modified time | relevance | path

Searched refs:isFooable (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddiagnose_if.cpp303 constexpr bool isFooable() const { return i; } in isFooable() function
305 …void go() const _diagnose_if(isFooable(), "oh no", "error") {} // expected-note{{from 'diagnose_if… in go()
306 …operator int() const _diagnose_if(isFooable(), "oh no", "error") { return 1; } // expected-note{{f… in operator int()
308 …void go2() const _diagnose_if(isFooable(), "oh no", "error") // expected-note{{from 'diagnose_if'}} in go2()
310 void go2() const _diagnose_if(isFooable(), "oh no", "error") {} in go2()
312 constexpr int go3() const _diagnose_if(isFooable(), "oh no", "error") in go3()
317 constexpr int go4() const _diagnose_if(isFooable(), "oh no", "error") { in go4()
320 constexpr int go4() const _diagnose_if(isFooable(), "oh no", "error") in go4()
331 void go(const Foo &f) _diagnose_if(f.isFooable(), "oh no", "error") {} // expected-note{{from 'diag… in go()