Searched defs:constexpr (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
H A Dc++98.cc14 constexpr, enumerator in enum:cxx11_keywords
/external/clang/test/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp3 #define constexpr const macro
4 constexpr int x = 0;
5 #undef constexpr macro
14 int CONCAT(constexpr,ession);
31 int constexpr; // expected-warning {{'constexpr' is a keyword in C++11}} variable
H A Dkeywords_test.cpp25 CXX11_KEYWORD(constexpr); variable
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp1.cpp11 constexpr int i1 = 0;
12 constexpr int f1() { return 0; }
14 constexpr static int mi1 = 0;
17 constexpr int s1::mi2 = 0;
21 constexpr extern int i2; // expected-error {{constexpr variable declaration must be a definition}}
23 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const notlit'}}
25 void f2(constexpr int i) {} // expected-error {{function parameter cannot be constexpr}}
42 class C2 {} constexpr; // expected-error {{class cannot be marked constexpr}} variable in typeref:class:C2
43 struct S2 {} constexpr; // expected-error {{struct cannot be marked constexpr}} variable in typeref:struct:S2
44 union U2 {} constexpr; // expected-error {{union cannot be marked constexpr}} variable in typeref:union:U2
45 enum E2 {} constexpr; // expected-error {{enum cannot be marked constexpr}} variable in typeref:enum:E2
[all...]
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp38 #define constexpr macro
123 constexpr

Completed in 224 milliseconds