HomeSort by relevance Sort by last modified time
    Searched defs:constexpr (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
c++98.cc 14 constexpr, enumerator in enum:cxx11_keywords
  /external/clang/test/Lexer/
cxx0x_keyword_as_cxx98.cpp 3 #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
keywords_test.cpp 25 CXX11_KEYWORD(constexpr); variable
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p1.cpp 11 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/
cxx_oper_keyword_ms_compat.cpp 38 #define constexpr macro
123 constexpr

Completed in 2467 milliseconds