/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
D | p7-0x.cpp | 34 struct Agg { struct 51 …Agg<char> a1 = {1.0F}; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-n… in float_to_int() argument 52 Agg<char> a2 = {1.0}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 53 Agg<char> a3 = {1.0L}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 58 Agg<char> a4 = {f}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 59 Agg<char> a5 = {d}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 60 Agg<char> a6 = {ld}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 62 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'c… in float_to_int() 63 …Agg<char> ce2 = { ConvertVar<double>() }; // expected-error {{type 'double' cannot be narrowed to … in float_to_int() 66 …Agg<bool> ab = {0.0}; // expected-error {{type 'double' cannot be narrowed to 'bool'}} expected-no… in float_to_int() [all …]
|
D | p7-cxx11-nowarn.cpp | 31 struct Agg { struct 48 …Agg<char> a1 = {1.0F}; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected… in float_to_int() argument 49 Agg<char> a2 = {1.0}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 50 Agg<char> a3 = {1.0L}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 55 Agg<char> a4 = {f}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 56 Agg<char> a5 = {d}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 57 Agg<char> a6 = {ld}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 59 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to … in float_to_int() 60 …Agg<char> ce2 = { ConvertVar<double>() }; // expected-warning {{type 'double' cannot be narrowed t… in float_to_int() 75 Agg<float> f1 = {f}; // OK (no-op) in shrink_float() [all …]
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
D | p7-0x.cpp | 30 struct Agg { struct 47 …Agg<char> a1 = {1.0F}; // expected-error {{type 'float' cannot be narrowed to 'char'}} expected-n… in float_to_int() argument 48 Agg<char> a2 = {1.0}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 49 Agg<char> a3 = {1.0L}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 54 Agg<char> a4 = {f}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 55 Agg<char> a5 = {d}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 56 Agg<char> a6 = {ld}; // expected-error {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 58 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-error {{type 'float' cannot be narrowed to 'c… in float_to_int() 59 …Agg<char> ce2 = { ConvertVar<double>() }; // expected-error {{type 'double' cannot be narrowed to … in float_to_int() 62 …Agg<bool> ab = {0.0}; // expected-error {{type 'double' cannot be narrowed to 'bool'}} expected-no… in float_to_int() [all …]
|
D | p7-cxx11-nowarn.cpp | 31 struct Agg { struct 48 …Agg<char> a1 = {1.0F}; // expected-warning {{type 'float' cannot be narrowed to 'char'}} expected… in float_to_int() argument 49 Agg<char> a2 = {1.0}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 50 Agg<char> a3 = {1.0L}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 55 Agg<char> a4 = {f}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 56 Agg<char> a5 = {d}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 57 Agg<char> a6 = {ld}; // expected-warning {{ cannot be narrowed }} expected-note {{silence}} in float_to_int() 59 …Agg<char> ce1 = { Convert<float>(1.0) }; // expected-warning {{type 'float' cannot be narrowed to … in float_to_int() 60 …Agg<char> ce2 = { ConvertVar<double>() }; // expected-warning {{type 'double' cannot be narrowed t… in float_to_int() 75 Agg<float> f1 = {f}; // OK (no-op) in shrink_float() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | microsoft-abi-byval-thunks.cpp | 5 struct Agg { struct 6 Agg(); 7 Agg(const Agg &); 8 ~Agg(); 12 struct A { virtual void foo(Agg x); }; 13 struct B { virtual void foo(Agg x); }; 14 struct C : A, B { C(); virtual void foo(Agg x); }; 34 struct Agg { struct 35 Agg(); 36 Agg(const Agg &); [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | microsoft-abi-byval-thunks.cpp | 5 struct Agg { struct 6 Agg(); 7 Agg(const Agg &); 8 ~Agg(); 12 struct A { virtual void foo(Agg x); }; 13 struct B { virtual void foo(Agg x); }; 14 struct C : A, B { C(); virtual void foo(Agg x); }; 34 struct Agg { struct 35 Agg(); 36 Agg(const Agg &); [all …]
|
D | cxx2a-consteval.cpp | 105 struct Agg { struct 112 consteval Agg retAgg() { in retAgg() argument 134 Agg A = retAgg(); 138 consteval const Agg &retRefAgg() { in retRefAgg() 139 const Agg &tmp = A; in retRefAgg() 162 consteval Agg is_const() { in is_const()
|
D | member-expr-references-variable.cpp | 3 struct Agg { const char * x; const char * y; constexpr Agg() : x(0), y(0) {} }; in Agg() argument 10 static constexpr const Agg &agg = Agg();
|
/external/clang/test/CodeGen/ |
D | block-byref-aggr.c | 4 typedef struct { int v; } Agg; typedef 5 Agg makeAgg(void); 11 __block Agg a = {100}; in test0() 37 __block Agg a, b; in test1()
|
/external/llvm-project/clang/test/CodeGen/ |
D | block-byref-aggr.c | 4 typedef struct { int v; } Agg; typedef 5 Agg makeAgg(void); 11 __block Agg a = {100}; in test0() 39 __block Agg a, b; in test1()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | ms-initlist-narrowing.cpp | 6 struct Agg { struct 12 …Agg<float> f8 = {1E50}; // expected-error {{constant expression evaluates to 1.000000e+50 which c… in f() argument 16 …Agg<float> f2 = {d}; // expected-error {{non-constant-expression cannot be narrowed from type 'do… in f()
|
D | aggregate-initialization.cpp | 86 class Agg { class 93 Agg agg1; 94 Agg agg2;
|
/external/clang/test/CXX/basic/basic.types/ |
D | p10.cpp | 69 struct Agg { struct 73 constexpr int f3(Agg a) { return a.a; } in f3() argument 114 struct LitMemBase : Agg { 115 Agg agg; 127 Agg agg[24];
|
/external/llvm-project/clang/test/CXX/basic/basic.types/ |
D | p10.cpp | 69 struct Agg { struct 73 constexpr int f3(Agg a) { return a.a; } in f3() argument 114 struct LitMemBase : Agg { 115 Agg agg; 127 Agg agg[24];
|
/external/clang/test/SemaCXX/ |
D | aggregate-initialization.cpp | 81 class Agg { class 88 Agg agg1; 89 Agg agg2;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.h | 42 Constant *ConstantFoldExtractValueInstruction(Constant *Agg, 44 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
|
/external/llvm/lib/IR/ |
D | ConstantFold.h | 41 Constant *ConstantFoldExtractValueInstruction(Constant *Agg, 43 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.h | 42 Constant *ConstantFoldExtractValueInstruction(Constant *Agg, 44 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
|
/external/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 101 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val, 107 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
|
D | TargetFolder.h | 257 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument 259 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue() 262 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument 264 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList)); in CreateInsertValue()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 232 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument 234 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue() 237 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument 239 return ConstantExpr::getInsertValue(Agg, Val, IdxList); in CreateInsertValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 267 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument 269 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue() 272 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument 274 return ConstantExpr::getInsertValue(Agg, Val, IdxList); in CreateInsertValue()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 272 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument 274 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue() 277 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument 279 return ConstantExpr::getInsertValue(Agg, Val, IdxList); in CreateInsertValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 259 Constant *CreateExtractValue(Constant *Agg, in CreateExtractValue() argument 261 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue() 264 Constant *CreateInsertValue(Constant *Agg, Constant *Val, in CreateInsertValue() argument 266 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList)); in CreateInsertValue()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 103 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val, 109 Constant *ConstantFoldExtractValueInstruction(Constant *Agg,
|