/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | construct.pass.cpp | 41 struct C struct 45 typedef std::scoped_allocator_adaptor<A2<C>> allocator_type; argument 47 explicit C(std::allocator_arg_t, const allocator_type& a, int i) in C() argument 57 struct D struct 61 typedef std::scoped_allocator_adaptor<A2<D>> allocator_type; argument 63 explicit D(int i, int j, const allocator_type& a) in D() function 91 struct F struct 95 typedef std::scoped_allocator_adaptor<A2<F>> allocator_type; argument 97 explicit F(int i, int j) in F() function 103 explicit F(int i, int j, const allocator_type& a) in F() function [all …]
|
/external/clang/test/SemaCXX/ |
D | uninitialized.cpp | 171 struct S { struct 177 S(bool (*)[1]) : x(x) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument 178 S(bool (*)[2]) : x(x + 1) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() argument 179 S(bool (*)[3]) : x(x + x) {} // expected-warning 2{{field 'x' is uninitialized when used here}} in S() function 180 …S(bool (*)[4]) : x(static_cast<long>(x) + 1) {} // expected-warning {{field 'x' is uninitialized w… in S() function 181 S(bool (*)[5]) : x(foo(x)) {} // expected-warning {{field 'x' is uninitialized when used here}} in S() function 184 S(char (*)[1]) : x(sizeof(x)) {} // rdar://8610363 in S() argument 185 S(char (*)[2]) : ptr(&ptr) {} in S() function 186 S(char (*)[3]) : x(bar(&x)) {} in S() function 187 S(char (*)[4]) : x(boo(x)) {} in S() function [all …]
|
D | abstract.cpp | 15 class C { class 21 class D : C { class 38 struct S { struct 39 C c; // expected-error {{field type 'C' is an abstract class}} 60 class F { class 63 class D { class in F 142 struct C : public B { struct 159 struct C : public B<int> { struct 174 struct C { virtual D& operator=(const D&) = 0; }; struct 175 struct D : C {}; struct [all …]
|
D | constructor-initializer.cpp | 22 class C : public virtual B { class 24 C() : B() { } in C() function in C 27 class D : public C { class 29 D() : B(), C() { } in D() function in D 40 class F : public B { class 44 F() : B(17), in F() function in F 67 struct S : Y, virtual X { struct 139 int C; member in InitializeUsingSelfTest 140 TwoInOne D; member in InitializeUsingSelfTest 142 InitializeUsingSelfTest(int F) in InitializeUsingSelfTest() [all …]
|
D | cxx0x-initializer-constructor.cpp | 50 struct F { struct 51 F() { static_assert(N == 0, ""); } in F() argument 52 F(int, double) { static_assert(N == 1, ""); } in F() function 53 F(std::initializer_list<int>) { static_assert(N == 3, ""); } in F() argument 57 struct D { struct 58 D(std::initializer_list<int>) { static_assert(N == 0, ""); } // expected-note 1 {{candidate}} in D() function 59 D(std::initializer_list<double>) { static_assert(N == 1, ""); } // expected-note 1 {{candidate}} in D() argument 99 struct C { struct 200 struct S { struct 222 struct C { C(int); } c{0}; struct [all …]
|
D | constant-expression-cxx11.cpp | 34 struct C : virtual A, Aa {}; struct 35 struct D : B, C {}; struct 147 constexpr int F(int a, ...) { return a; } in F() function 182 struct S { struct 183 static constexpr int k = 42; 184 static constexpr int f(int n) { return n * k + 2; } in f() 272 struct S { int x, y; } s; argument 434 struct S { struct 585 template<bool B, typename T> struct S : T { struct 586 int k; [all …]
|
/external/clang/test/Parser/ |
D | cxx-class.cpp | 6 class C { class 12 struct S {}; struct in C 62 class D { class 74 class F { class 131 union N::C; // expected-error {{forward declaration of union cannot have a nested name specifier}} member in nns_decl::N 166 struct C { struct 167 C(NonExistent) try {} catch (...) {} // expected-error {{unknown type name 'NonExistent'}} in C() argument 169 struct D { struct 170 D(NonExistent) {} // expected-error {{unknown type name 'NonExistent'}} in D() function 188 …~C::C() {} // expected-error {{incomplete}} expected-error {{'~' in destructor name should be afte… in C() function in DtorErrors::~C [all …]
|
/external/clang/test/CXX/drs/ |
D | dr14xx.cpp | 27 union C { union 40 union C { int n = 0; }; union 41 struct D { union {}; }; struct 43 struct F { union { int n = 0; }; }; struct 66 union C { int n = 0; constexpr C() = default; }; union 67 struct D { union {}; constexpr D() = default; }; argument 69 struct F { union { int n = 0; }; constexpr F() = default; }; struct 146 struct C { struct 147 union { int a, b = 2, c; }; 148 union { int d, e = 5, f; }; [all …]
|
D | dr2xx.cpp | 99 class C {}; class 126 struct S { struct 129 typedef enum { e } *E; 136 template<typename T> struct S { struct 144 struct S {}; struct 148 struct S {}; struct 152 struct C { struct 153 int f; 154 void test1(A::S as) { f(as); } // expected-error {{called object type 'int'}} in test1() 155 …oid test2(A::S as) { void f(); f(as); } // expected-error {{too many arguments}} expected-note {{}} in test2() [all …]
|
D | dr4xx.cpp | 14 struct C : A, B { using A::a; struct a b; }; struct 15 struct D : A, B { using A::a; using B::a; struct a b; }; // expected-error 2{{conflicts}} argument 27 class C { class 32 class D { class 45 class F { class 65 struct S {}; struct 88 typedef struct S S; typedef 92 typedef struct S S; // expected-note {{here}} in f() typedef 96 struct S {}; struct 100 struct S {}; // expected-note {{found}} struct [all …]
|
D | dr5xx.cpp | 20 class A::C : public A::B {}; class in dr500::A 21 class D : public A::B {}; class 105 template<typename T> struct S {}; struct 108 template struct S<int*>; variable 115 template<typename T> struct S<T*> {}; struct 119 template<typename T> struct S<T&> {}; struct 146 struct S {}; struct 178 struct S {}; struct 182 namespace N { struct S {}; } struct 191 template <class T> struct D { operator T*(); }; struct [all …]
|
/external/clang/test/CodeGenCXX/ |
D | const-init-cxx11.cpp | 37 struct C { struct 38 constexpr C() : c(0) {} in C() function 39 int c; 45 struct D { struct 46 constexpr D() : d(5) {} in D() argument 47 int d; 67 struct C { char c = 1; }; argument 70 struct D { double d = 4.0; }; struct 109 struct C { constexpr C() : n(5) {} int n, m = 3 * n + 1; }; in C() argument 115 struct D { int n[2]; int m[3]; } extern constexpr d = { 1, 2, 3, 4, 5 }; argument [all …]
|
D | temporaries.cpp | 15 struct C : A, B {}; struct 24 struct D { double d; C c; }; argument 33 struct C : B {}; struct 83 struct C { struct 98 struct D { struct 134 struct F { struct 201 struct C { struct 204 const B& b; 207 C::C() in C() function in PR5077::C 272 struct S { struct [all …]
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | examples.cpp | 9 template<typename T> struct C { typedef B type; }; struct 15 namespace N { template<typename T> struct S { void f(); }; } struct 22 struct C struct 25 void F( void ) in F() function 31 struct D struct 33 typedef C< int > A; 40 void A::F< 0 >( void ) in F() function in PR8277::A 46 template<typename S> struct C { struct 49 template<typename S> struct D { struct 50 typedef C<int> A; [all …]
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
D | p5.cpp | 3 struct S { struct 6 auto a; // expected-error{{'auto' not allowed in non-static struct member}} 7 auto *b; // expected-error{{'auto' not allowed in non-static struct member}} 8 const auto c; // expected-error{{'auto' not allowed in non-static struct member}} 58 template <auto a = 10> class C { }; // expected-error{{'auto' not allowed in template parameter}} class 60 template <const auto (*a)[3] = &ints> class D { }; // expected-error{{'auto' not allowed in templat… class 62 struct F : auto {}; // expected-error{{expected class name}} struct
|
/external/r8/src/test/examplesAndroidO/lambdadesugaring/ |
D | ValueAdjustments.java | 12 Object foo(boolean z, Boolean Z, byte b, Byte B, char c, Character C, short s, Short S, in foo() 13 int i, Integer I, long l, Long L, float f, Float F, double d, Double D); in foo() 233 static String boxingAndUnboxing(Boolean Z, boolean z, Byte B, byte b, Character C, char c, in boxingAndUnboxing() 234 Short S, short s, Integer I, int i, Long L, long l, Float F, float f, Double D, double d) { in boxingAndUnboxing() 240 double C, double c, double S, double s, double I, double i, double L, double l, in boxingAndUnboxingW() 241 double F, double f, double D, double d) { in boxingAndUnboxingW() 286 static Character C() { in C() method in ValueAdjustments 290 static Short S() { in S() method in ValueAdjustments 302 static Float F() { in F() method in ValueAdjustments 306 static Double D() { in D() method in ValueAdjustments
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 32 ModuleFile &F; member in clang::ASTStmtReader 81 ASTStmtReader(ASTReader &Reader, ModuleFile &F, in ASTStmtReader() 122 void ASTStmtReader::VisitStmt(Stmt *S) { in VisitStmt() 126 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt() 132 void ASTStmtReader::VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 143 void ASTStmtReader::VisitSwitchCase(SwitchCase *S) { in VisitSwitchCase() 150 void ASTStmtReader::VisitCaseStmt(CaseStmt *S) { in VisitCaseStmt() 158 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt() 163 void ASTStmtReader::VisitLabelStmt(LabelStmt *S) { in VisitLabelStmt() 172 void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { in VisitAttributedStmt() [all …]
|
/external/clang/test/Layout/ |
D | ms-x86-empty-virtual-base.cpp | 69 struct C : virtual B0, virtual B1, virtual B2, virtual B3, virtual B4 { struct 71 C() : a(0xf000000C) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in C() function 105 struct D { struct 112 D() : a(0xf000000D) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in D() argument 182 struct F : virtual C0, virtual B0, virtual B1, virtual C1 { struct 184 F() : a(0xf000000F) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in F() function 588 struct S : virtual B0, virtual B1, virtual C0, virtual B2, virtual B3, virtual B4 { struct 590 S() : a(0xf0000021) {printf("X : %3d\n", ((int)(__SIZE_TYPE__)this)&0xfff);} in S() argument
|
/external/clang/test/SemaTemplate/ |
D | class-template-decl.cpp | 120 struct S { struct 121 int C; // expected-note {{here}} member 124 int D; // expected-note {{here}} member 125 template<typename T> struct D { // expected-error {{different kind of symbol}} struct 128 int E; 129 template<typename T> friend struct E { // expected-error {{cannot define a type in a friend}} 132 int F; member 139 int I, J, K; 141 struct U {
|
D | instantiate-member-class.cpp | 31 struct C { T &foo(); }; struct in X 33 struct D { struct in X 34 struct E { T &bar(); }; // expected-error{{cannot form a reference to 'void'}} 99 template <typename T> class C { class 105 template class C<int>; variable 110 struct F { struct 111 using S = struct U { typedef 130 struct C { C() { int *ptr = I; } }; in C() function
|
D | typename-specifier.cpp | 15 struct C { struct 31 typename N::C::type *ip3 = &i; // expected-error{{typename specifier refers to non-type member 'typ… 87 struct C { struct 94 ::Y<C>::type ip9 = &i; // expected-note{{in instantiation of template class 'Y<C>' requested here}} argument 96 template<typename T> struct D { struct 101 D<long> struct_D; // expected-note {{in instantiation of template class 'D<long>' requested here}} argument 108 struct F { struct 112 E<F> struct_E; // expected-note {{in instantiation of template class 'E<F>' requested here}} argument 230 template <typename> struct S { typedef int type; }; argument
|
D | alias-templates.cpp | 6 template<typename T> using C = typename T::B; typedef 7 template<typename T> struct D { struct 8 template<typename U> using E = typename A<U>::template C<A<T>>; 9 template<typename U> using F = A<E<U>>; typedef 10 template<typename U> using G = C<F<U>>; 11 G<T> g; 100 struct S { struct 127 template<typename T, typename ...Ts> struct S { struct 131 void f1(Y<T> a) { h(g(a)); } // expected-error {{undeclared identifier 'g'}} in f1() 132 void f2(Y<Ts>...as) { h(g(as)...); } // expected-error {{undeclared identifier 'g'}} in f2() [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/tests/ |
D | 147-define-macro-no-space.c | 14 #define C, comma macro 15 #define D/ divider macro 17 #define F. full stop macro 29 #define S] square bracket (right) macro
|
/external/clang/lib/CodeGen/ |
D | CGStmtOpenMP.cpp | 30 void emitPreInitStmt(CodeGenFunction &CGF, const OMPExecutableDirective &S) { in emitPreInitStmt() 31 for (const auto *C : S.clauses()) { in emitPreInitStmt() local 56 OMPLexicalScope(CodeGenFunction &CGF, const OMPExecutableDirective &S, in OMPLexicalScope() 64 for (auto &C : CS->captures()) { in OMPLexicalScope() local 87 void emitPreInitStmt(CodeGenFunction &CGF, const OMPLoopDirective &S) { in emitPreInitStmt() 97 OMPLoopScope(CodeGenFunction &CGF, const OMPLoopDirective &S) in OMPLoopScope() 106 auto &C = getContext(); in getTypeSize() local 126 const CapturedStmt &S, SmallVectorImpl<llvm::Value *> &CapturedVars) { in GenerateOpenMPCapturedVars() 198 CodeGenFunction::GenerateOpenMPCapturedStmtFunction(const CapturedStmt &S) { in GenerateOpenMPCapturedStmtFunction() 251 llvm::Function *F = llvm::Function::Create( in GenerateOpenMPCapturedStmtFunction() local [all …]
|
/external/llvm/docs/ |
D | Lexicon.rst | 46 C chapter 65 D chapter 88 F chapter 215 S chapter
|