/frameworks/compile/slang/tests/F_global_init/ |
stderr.txt.expect | 1 global_init.rs:19:10: error: Reflection of initializer to variable 'myS' (of type 's') is unsupported currently.
|
/external/llvm/test/Assembler/ |
2003-04-15-ConstantInitAssertion.ll | 2 ; RUN: grep "struct initializer doesn't match struct element type" %t 3 ; Test the case of a misformed constant initializer
|
2002-07-31-SlashInString.ll | 3 ; Make sure that \\ works in a string initializer
|
2003-05-21-MalformedStructCrash.ll | 3 ; RUN: grep "initializer with struct type has wrong # elements" %t
|
/external/clang/test/SemaCXX/ |
cxx0x-return-init-list.cpp | 3 // Test that a very basic variation of generalized initializer returns (that 7 return { i }; // expected-warning{{generalized initializer lists are a C++11 extension}} 12 return { u }; // expected-warning{{generalized initializer lists are a C++11 extension}}
|
dependent-types.cpp | 8 T& x3; // expected-error{{declaration of reference variable 'x3' requires an initializer}} 9 T x4[]; // expected-error{{needs an explicit size or an initializer}} 12 U<T> x7; // expected-error{{declaration of reference variable 'x7' requires an initializer}}
|
redeclared-auto.cpp | 7 extern auto a; // expected-error {{requires an initializer}} 18 auto S::a; // expected-error {{redefinition}} expected-error {{requires an initializer}} 25 extern auto a; // expected-error {{requires an initializer}}
|
ref-init-ambiguous.cpp | 17 const E2 &e2 = c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} 23 foo(c); // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}} 25 return c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}}
|
/external/clang/test/CXX/class/class.base/class.base.init/ |
p5-0x.cpp | 4 // A ctor-initializer may initialize a variant member of the constructor?s 5 // class. If a ctor-initializer specifies more than one mem-initializer for the 6 // same member or for the same base class, the ctor-initializer is ill-formed.
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p3.cpp | 2 int& r1; // expected-error{{declaration of reference variable 'r1' requires an initializer}}
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.string/ |
p2.cpp | 2 char test1[1]="f"; // expected-error {{initializer-string for char array is too long}}
|
/external/clang/test/Sema/ |
static-init.c | 6 static int b = f; // expected-error {{initializer element is not a compile-time constant}} 8 float r = (float) (intptr_t) &r; // expected-error {{initializer element is not a compile-time constant}} 22 struct foo x = {(intptr_t) u}; // expected-error {{initializer element is not a compile-time constant}} 23 struct foo y = {(char) u}; // expected-error {{initializer element is not a compile-time constant}}
|
missing-field-initializers.c | 7 struct Foo foo0 = { 1 }; // expected-warning {{missing field 'b' initializer}} 13 { 1 }, // expected-warning {{missing field 'b' initializer}} 21 }; // expected-warning {{missing field 'b' initializer}} 44 { { .one = { 1 } } }, // expected-warning {{missing field 'b' initializer}} 46 { { .two = { 1.0f, 2.0f } } } // expected-warning {{missing field 'e' initializer}} 51 { 1 } // expected-warning {{missing field 'b' initializer}}
|
array-init.c | 5 extern int foof() = 1; // expected-error{{illegal initializer (only variables can be initialized)}} 9 static int ary[] = { x, y, z }; // expected-error{{initializer element is not a compile-time constant}} 10 int ary2[] = { x, y, z }; // expected-error{{initializer element is not a compile-time constant}} 12 extern int fileScopeExtern[3] = { 1, 3, 5 }; // expected-warning{{'extern' variable has an initializer}} 19 typedef int TInt = 1; // expected-error{{illegal initializer (only variables can be initialized)}} 25 int x4 = { 1, 2 }; // expected-warning{{excess elements in scalar initializer}} 42 { 5 }, // expected-warning{{excess elements in array initializer}} 51 extern int blockScopeExtern[3] = { 1, 3, 5 }; // expected-error{{'extern' variable cannot have an initializer}} 60 { 1, 2, 3 } // expected-warning{{excess elements in scalar initializer}} 67 { }, // expected-warning{{use of GNU empty initializer extension}} expected-warning{{excess elements in array initializer} [all...] |
/external/clang/test/SemaObjC/ |
severe-syntax-error.m | 11 static NSArray* prefixArray[] = @"BEGIN:", @"END:", @"VERSION:", @"N:", @"FN:", @"TEL;", @"TEL:", nil; // expected-error {{array initializer must be an initializer list}} \ 19 static char* cArray[] = "BEGIN:", "END"; // expected-error {{array initializer must be an initializer list}} \
|
/external/clang/test/CXX/expr/expr.ass/ |
p9-cxx11.cpp | 16 a = { 1 } = b; // expected-error {{initializer list cannot be used on the left hand side of operator '='}} 17 a = a + { 4 }; // expected-error {{initializer list cannot be used on the right hand side of operator '+'}} 18 a = { 3 } * { 4 }; // expected-error {{initializer list cannot be used on the left hand side of operator '*'}} \ 19 expected-error {{initializer list cannot be used on the right hand side of operator '*'}} 33 int k1 = T() = { 1, 2 } = { 3, 4 }; // expected-error {{initializer list cannot be used on the left hand side of operator '='}} 34 int k2 = T() = { 1, 2 } + 1; // expected-error {{initializer list cannot be used on the left hand side of operator '+'}}
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
glesv1_emul_ifc.cpp | 32 ApiInitializer *initializer = new ApiInitializer(solib); local 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); 35 delete initializer;
|
glesv2_emul_ifc.cpp | 32 ApiInitializer *initializer = new ApiInitializer(solib); local 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); 35 delete initializer;
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
basic.cpp | 4 int &ir = { 17 }; // expected-error{{reference to type 'int' cannot bind to an initializer list}} 10 T x{i}; // expected-error{{non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list}} \ 12 T y{i}; // expected-error{{non-constant-expression cannot be narrowed from type 'int' to 'float' in initializer list}} \
|
/frameworks/compile/slang/ |
slang_rs_export_var.cpp | 52 // mInit - Evaluate initializer expression 53 const clang::Expr *Initializer = VD->getAnyInitializer(); 54 if (Initializer != NULL) { 58 Initializer->EvaluateAsRValue(mInit, Context->getASTContext()); 62 if (Initializer->isNullPointerConstant(Context->getASTContext(), 66 if (!Initializer->EvaluateAsRValue(mInit, Context->getASTContext())) { 67 ReportVarError(Context, Initializer->getExprLoc(), 68 "initializer is not an R-value"); 75 static_cast<const clang::InitListExpr*>(Initializer); 78 "Unable to find initializer list") [all...] |
/external/llvm/include/llvm/IR/ |
GlobalVariable.h | 69 Constant *Initializer = 0, const Twine &Name = "", 75 LinkageTypes Linkage, Constant *Initializer, 88 /// initializer. The initializer for the global variable/constant is held by 89 /// Initializer if an initializer is specified. 93 /// hasDefinitiveInitializer - Whether the global variable has an initializer, 95 /// linkage) are guaranteed to have the same initializer. 102 /// @a = global SomeType* null - Initializer is both definitive and unique. 104 /// @b = global weak SomeType* null - Initializer is neither definitive no [all...] |
/external/chromium/chrome/common/ |
ref_counted_util.h | 19 explicit RefCountedVector(const std::vector<T>& initializer) 20 : data(initializer) {}
|
/external/clang/test/Parser/ |
cxx-condition.cpp | 8 while (int x) ; // expected-error {{variable declaration in condition must have an initializer}} 14 if (S a(42)) {} // expected-error {{variable declaration in condition cannot have a parenthesized initializer}}
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
p3.cpp | 4 auto a = a; // expected-error{{variable 'a' declared with 'auto' type cannot appear in its own initializer}} 5 auto *b = b; // expected-error{{variable 'b' declared with 'auto' type cannot appear in its own initializer}} 6 const auto c = c; // expected-error{{variable 'c' declared with 'auto' type cannot appear in its own initializer}} 7 if (auto d = d) {} // expected-error {{variable 'd' declared with 'auto' type cannot appear in its own initializer}} 8 auto e = ({ auto f = e; 0; }); // expected-error {{variable 'e' declared with 'auto' type cannot appear in its own initializer}} 12 auto a; // expected-error{{declaration of variable 'a' with type 'auto' requires an initializer}} 14 auto *b; // expected-error{{declaration of variable 'b' with type 'auto *' requires an initializer}} 16 if (auto b) {} // expected-error {{must have an initializer}} 17 for (;auto b;) {} // expected-error {{must have an initializer}} 18 while (auto b) {} // expected-error {{must have an initializer}} [all...] |
/external/clang/test/CodeGen/ |
2005-02-27-MarkGlobalConstant.c | 4 // The synthetic global made by the CFE for big initializer should be marked
|