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

  /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 51 CXX11_KEYWORD(constexpr); variable
  /external/flatbuffers/include/flatbuffers/
base.h 63 // and constexpr keywords. Note the __clang__ check is needed, because clang
73 #ifndef constexpr
74 #define constexpr const macro
118 #define FLATBUFFERS_CONSTEXPR constexpr
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p1.cpp 13 constexpr int i1 = 0;
14 constexpr int f1() { return 0; }
16 constexpr static int mi1 = 0;
19 constexpr int s1::mi2 = 0;
23 constexpr extern int i2; // expected-error {{constexpr variable declaration must be a definition}}
25 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const notlit'}}
27 void f2(constexpr int i) {} // expected-error {{function parameter cannot be constexpr}}
49 class C2 {} constexpr; \/\/ expected-error {{class cannot be marked constexpr}} variable in typeref:class:C2
50 struct S2 {} constexpr; \/\/ expected-error {{struct cannot be marked constexpr}} variable in typeref:struct:S2
51 union U2 {} constexpr; \/\/ expected-error {{union cannot be marked constexpr}} variable in typeref:union:U2
52 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 40 #define constexpr macro
125 constexpr
  /system/chre/external/flatbuffers/include/flatbuffers/
flatbuffers.h 85 // and constexpr keywords. Note the __clang__ check is needed, because clang
95 #ifndef constexpr
96 #define constexpr const macro
135 #define FLATBUFFERS_CONSTEXPR constexpr
    [all...]

Completed in 216 milliseconds