Lines Matching refs:CONST

6   #define CONST const
8 #define CONST constexpr
15 CONST T cpi = T(3.1415926535897932385); // expected-note {{template is declared here}}
17 template<typename T> extern CONST T vc;
43 CONST T const_circular_area(T r) {
48 CONST float t = const_circular_area(2.0) - 12;
51 CONST int test = (t > 0) && (t < 1);
135 template CONST int pi0b<int>; // expected-error {{type 'const int' of explicit instantiation of 'pi0b' does not match expected type 'int'}}
147 CONST T pi1a = T(3.1415926535897932385); // expected-note {{variable template 'pi1a' declared here}}
151 CONST T pi1b = T(3.1415926535897932385); // expected-note {{variable template 'pi1b' declared here}}
155 CONST T pi1 = T(3.1415926535897932385);
156 template CONST int pi1<int>; // expected-note {{previous explicit instantiation is here}}
157 template CONST int pi1<int>; // expected-error {{duplicate explicit instantiation of 'pi1<int>'}}
181 CONST int pi2 = 1;
184 CONST int pi2<T,int> = 2;
187 CONST int pi2<int,T> = 3;
189 template<> CONST int pi2<int,int> = 4;
206 CONST int pi2 = 1;
209 CONST int pi2<T,int> = 2; // expected-note {{partial specialization matches [with T = int]}}
212 CONST int pi2<int,T> = 3; // expected-note {{partial specialization matches [with T = int]}}
229 template<> CONST int pi1<int> = 10;
236 CONST T pi4 = T(3.1415926535897932385);
249 template<> CONST int pi0<int> = 10; // expected-error {{redefinition of 'pi0' with a different type: 'const int' vs 'int'}}
257 CONST T pi1 = T(3.1415926535897932385);
259 template<> CONST int pi1<int> = 10; // expected-note {{previous definition is here}}
260 template<> CONST int pi1<int> = 10; // expected-error {{redefinition of 'pi1<int>'}}
272 CONST int pi2 = 1;
274 template<typename T> CONST int pi2<T,int> = 2;
275 template CONST int pi2<int,int>;
286 CONST int pi2 = 1;
288 template CONST int pi2<int,int>;
289 template<typename T> CONST int pi2<T,int> = 2;