Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Sema/
H A Dc2x-nodiscard.c28 [[nodiscard]] int get_i(void);
33 …get_i(); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribu… in f2()
39 (void)get_i(); in f2()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/
H A Dp2.cpp12 [[nodiscard]] int get_i();
17 …get_i(); // expected-warning {{ignoring return value of function declared with 'nodiscard' attribu… in f()
24 (void)get_i(); in f()
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pair.piecewise/
H A Dpiecewise_construct.pass.cpp30 constexpr int get_i() const {return i_;} in get_i() function in A
52 assert(p.first.get_i() == 4); in test()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/fuchsia/
H A Dstatically-constructed-objects.cpp79 extern int get_i();
80 static S s3(get_i());
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/fuchsia/
H A Dstatically-constructed-objects.rst40 extern int get_i();
41 static C(get_i()) // Warning, as the constructor is dynamically initialized