Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp5.cpp112 extern const volatile int cvi;
117 S0<cvi> s0cv; // expected-error{{type 'const volatile int'}} in test()
122 S1<cvi> s1cv; // expected-error{{type 'const volatile int'}} in test()
127 S2<cvi> s2cv; // expected-error{{type 'const volatile int'}} in test()
132 S3<cvi> s3cv; in test()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dreferences.cpp58 const volatile int cvi = 1; in test5() local
59 …const int& r = cvi; // expected-error{{binding reference of type 'const int' to value of type 'con… in test5()
62 …const int& r2{cvi}; // expected-error{{binding reference of type 'const int' to value of type 'con… in test5()
H A Dconditional-expr.cpp49 const volatile int cvi; member
194 i1 ? &MixedFields::ci : &MixedFields::cvi; in test()
371 const volatile int cvi = 0; variable
375 const volatile int &cvir1 = b ? ci : cvi;
376 const volatile int &cvir2 = b ? cvi : vi;
H A Dcxx0x-class.cpp16 …static const volatile int cvi = 0; // expected-error {{static const volatile data member must be i… member in C
H A Dclass.cpp53 static const volatile int cvi = 0; // ok, illegal in C++11 member in C
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp125 const volatile int cvi = 1; variable
126 …const int& r2 = cvi; // expected-error{{binding reference of type 'const int' to value of type 'co…
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DHashingTest.cpp64 const volatile int cvi = 71; in TEST() local
74 EXPECT_EQ(hash_value(71), hash_value(cvi)); in TEST()