Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-enum-compare.cpp26 Bar getBar();
151 …while (x == getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
152 …while (x != getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
153 …while (x >= getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
154 …while (x <= getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
155 …while (x > getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
156 …while (x < getBar()); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
216 …while (getBar() == x); // expected-warning {{comparison of different enumeration types ('Bar' and… in test()
220 …while (getBar() > x); // expected-warning {{comparison of different enumeration types ('Bar' and … in test()
221 …while (getBar() < x); // expected-warning {{comparison of different enumeration types ('Bar' and … in test()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Didentifier-naming-member-decl-usage.cpp31 int getBar() const { return bar_baz; } // comment-4 in getBar() function in Foo
43 int getBar(const Foo &Foo) { in getBar() function
48 int getBar(const FooBar &Foobar) { in getBar() function
62 int getBar() const { return Foo::bar_baz; } // comment-8 in getBar() function in TempTest