OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:constexpr
(Results
1 - 3
of
3
) 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
/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
30
#define
constexpr
macro
115
constexpr
Completed in 146 milliseconds