HomeSort by relevance Sort by last modified time
    Searched refs:constexpr (Results 51 - 75 of 100) sorted by null

1 23 4

  /external/clang/test/SemaCXX/
literal-type.cpp 24 // -- it is an aggregate type or has at least one constexpr constructor
56 int x = f(); // expected-note {{non-constexpr function}}
57 constexpr HasNonConstExprMemInit() {} // expected-error {{never produces a constant expression}}
58 constexpr HasNonConstExprMemInit(int y) : x(y) {} // ok
65 constexpr HasConstExprCtor(int x) : x(x) {}
70 template <typename U> constexpr HasConstExprCtorTemplate(U y) : x(y) {}
73 constexpr HasConstExprCtorT(T) {}
cxx0x-defaulted-functions.cpp 47 constexpr S() = default;
48 constexpr S(const S&) = default;
49 constexpr S(S&&) = default;
51 struct lit { constexpr lit() {} };
new-delete-0x.cpp 4 struct noreturn_t {} constexpr noreturn = {};
lambda-expressions.cpp 93 constexpr int &ref_i = i; // expected-note {{declared}}
cxx98-compat.cpp 109 constexpr int const_expr = 0; // expected-warning {{'constexpr' specifier is incompatible with C++98}}
250 static constexpr double d = 0.0; // expected-warning {{static data member 'd' in union is incompatible with C++98}} expected-warning {{'constexpr' specifier is incompatible with C++98}}
  /external/clang/test/CXX/expr/expr.ass/
p9-cxx11.cpp 23 constexpr S(int a, int b) : a(a), b(b) {}
27 constexpr int operator=(S s) { return s.a; }
28 constexpr int operator+=(S s) { return s.b; }
  /external/clang/test/Parser/
cxx0x-ambig.cpp 35 constexpr T() {}
36 constexpr T(int) {}
37 constexpr T(T, T, T, T) {}
38 constexpr T operator=(T) { return *this; }
39 constexpr operator int() { return 4; }
41 constexpr T a, b, c, d;
68 constexpr operator T() { return T(); } // expected-note 2{{candidate}}
76 constexpr const U &id(const U &u) { return u; }
cxx0x-attributes.cpp 14 [[,,,static, class, namespace,, inline, constexpr, mutable,, bi\
  /external/clang/test/CXX/lex/lex.literal/lex.ext/
p4.cpp 17 template<char...Cs> constexpr int operator "" _x3() { return sizeof...(Cs); }
  /external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp 30 #define constexpr macro
115 constexpr
  /external/clang/test/CXX/expr/expr.const/
p3-0x.cpp 19 constexpr char vowels[] = "aeiou";
35 struct S { constexpr operator int() const { return 5; } };
77 template<typename T, T v> struct Val { static constexpr T value = v; };
104 constexpr operator int() { return 10; }
106 S s; // not constexpr
  /external/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/
p2-0x.cpp 18 constexpr const int *p = &k;
  /external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
p1-11.cpp 11 constexpr std::nullptr_t get_nullptr() { return nullptr; }
13 constexpr std::nullptr_t np = nullptr;
24 // expected-note{{read of non-constexpr variable 'nonconst_np' is not allowed in a constant expression}}
59 constexpr int i = 7;
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p7-0x.cpp 36 constexpr Convert(T v) : v(v) {}
37 constexpr operator T() const { return v; }
87 constexpr long double e40 = 1E40L, e30 = 1E30L, e39 = 1E39L;
101 constexpr long double e315 = 1E315L, e305 = 1E305L, e314 = 1E314L;
p7-cxx11-nowarn.cpp 37 constexpr Convert(T v) : v(v) {}
38 constexpr operator T() const { return v; }
88 constexpr long double e40 = 1E40L, e30 = 1E30L, e39 = 1E39L;
102 constexpr long double e315 = 1E315L, e305 = 1E305L, e314 = 1E314L;
  /external/clang/test/CodeGenCXX/
blocks-cxx11.cpp 47 constexpr _Complex int x = 500;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
unique_ptr.h 52 constexpr default_delete() = default;
73 constexpr default_delete() = default;
114 constexpr unique_ptr()
136 constexpr unique_ptr(nullptr_t)
276 constexpr unique_ptr()
298 constexpr unique_ptr(nullptr_t)
random.h 182 static constexpr result_type multiplier = __a;
184 static constexpr result_type increment = __c;
186 static constexpr result_type modulus = __m;
187 static constexpr result_type default_seed = 1u;
239 static constexpr result_type
246 static constexpr result_type
409 static constexpr size_t word_size = __w;
410 static constexpr size_t state_size = __n;
411 static constexpr size_t shift_size = __m;
412 static constexpr size_t mask_bits = __r
    [all...]
allocator.h 212 constexpr allocator_arg_t allocator_arg = allocator_arg_t();
shared_ptr.h 100 constexpr shared_ptr()
266 constexpr shared_ptr(nullptr_t __p)
401 constexpr weak_ptr()
481 constexpr enable_shared_from_this() { }
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
unique_ptr.h 52 constexpr default_delete() = default;
73 constexpr default_delete() = default;
114 constexpr unique_ptr()
136 constexpr unique_ptr(nullptr_t)
276 constexpr unique_ptr()
298 constexpr unique_ptr(nullptr_t)
random.h 182 static constexpr result_type multiplier = __a;
184 static constexpr result_type increment = __c;
186 static constexpr result_type modulus = __m;
187 static constexpr result_type default_seed = 1u;
239 static constexpr result_type
246 static constexpr result_type
409 static constexpr size_t word_size = __w;
410 static constexpr size_t state_size = __n;
411 static constexpr size_t shift_size = __m;
412 static constexpr size_t mask_bits = __r
    [all...]
allocator.h 212 constexpr allocator_arg_t allocator_arg = allocator_arg_t();
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
p5-cxx0x.cpp 73 constexpr operator bool() { return value; }
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/
p2-0x.cpp 20 using H = constexpr int; // expected-error {{type name does not allow constexpr specifier}}

Completed in 1212 milliseconds

1 23 4