HomeSort by relevance Sort by last modified time
    Searched full:declared (Results 76 - 100 of 2980) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/clang/test/SemaCXX/
anonymous-union.cpp 12 union { // expected-warning{{anonymous types declared in an anonymous union are an extension}}
77 union { // expected-error{{anonymous unions at namespace or global scope must be declared 'static'}}
103 struct X { }; // expected-error {{types cannot be declared in an anonymous union}}
104 struct { int x; int y; } y; // expected-warning{{anonymous types declared in an anonymous union are an extension}}
106 void f(); // expected-error{{functions cannot be declared in an anonymous union}}
129 int s0; // expected-note {{declared private here}}
130 double s1; // expected-note {{declared private here}}
131 union { // expected-warning{{anonymous types declared in an anonymous struct are an extension}}
132 int su0; // expected-note {{declared private here}}
133 double su1; // expected-note {{declared private here}
    [all...]
array-bounds-system-header.cpp 5 char a[3]; // expected-note 2 {{declared here}}
unknown-anytype-blocks.cpp 8 auto ret2 = bar(); // expected-error {{'bar' has unknown return type; cast the call to its declared return type}}
warn-dangling-field.cpp 12 int &x, *y; // expected-note {{reference member declared here}} \
13 // expected-note {{pointer member declared here}}
22 const X &x; // expected-note {{reference member declared here}}
32 T x; // expected-note {{reference member declared here}}
default-constructor-initializers.cpp 7 struct X2 : X1 { // expected-note 2 {{'X2' declared here}}
18 X2 x2; // expected-note {{member is declared here}}
19 X2 & rx2; // expected-note {{declared here}}
48 int& z; // expected-note {{declared here}}
49 const int c1; // expected-note {{declared here}}
array-bounds.cpp 4 int x[2]; // expected-note 4 {{array 'x' declared here}}
5 int y[2]; // expected-note 2 {{array 'y' declared here}}
6 int z[1]; // expected-note {{array 'z' declared here}}
7 int w[1][1]; // expected-note {{array 'w' declared here}}
8 int v[1][1][1]; // expected-note {{array 'v' declared here}}
33 void f2(const int (&a)[2]) { // expected-note {{declared here}}
44 short a[2]; // expected-note 4 {{declared here}}
56 int array[2]; // expected-note {{declared here}}
61 int array2[] = { 0, 1, 2 }; // expected-note 2 {{declared here}}
69 const char str2[] = "foo"; // expected-note {{declared here}
    [all...]
  /external/clang/test/SemaObjC/
class-extension-after-implementation.m 6 @implementation A @end // expected-note {{class implementation is declared here}}
duplicate-property.m 6 @property (nonatomic, retain) id x; // expected-note{{property declared here}}
objc-container-subscripting-3.m 5 - (int)objectAtIndexedSubscript:(int)index; // expected-note {{method 'objectAtIndexedSubscript:' declared here}}
6 - (void)setObject:(int)object atIndexedSubscript:(int)index; // expected-note {{parameter of type 'int' is declared here}}
10 - (int)objectForKeyedSubscript:(id)key; // expected-note {{method 'objectForKeyedSubscript:' declared here}}
11 - (void)setObject:(int)object forKeyedSubscript:(id)key; // expected-note {{parameter of type 'int' is declared here}}
arc-property-lifetime.m 10 @property(strong) id x; // expected-note {{property declared here}}
11 @property(strong) id y; // expected-note {{property declared here}}
27 @property(retain) id x; // expected-note {{property declared here}}
28 @property(retain) id y; // expected-note {{property declared here}}
44 @property(copy) id x; // expected-note {{property declared here}}
45 @property(copy) id y; // expected-note {{property declared here}}
56 @property(strong) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretained}}
57 @property(strong) __autoreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
61 @property(retain) __unsafe_unretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretained}}
62 @property(retain) __autoreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}
    [all...]
attr-deprecated.m 4 int X __attribute__((deprecated)); // expected-note 2 {{declared here}}
6 + (void)F __attribute__((deprecated)); // expected-note 2 {{declared here}}
7 - (void)f __attribute__((deprecated)); // expected-note 4 {{declared here}}
45 - (void)p __attribute__((deprecated)); // expected-note {{declared here}}
74 @property (assign, setter = MySetter:) int FooBar __attribute__ ((deprecated)); // expected-note 2 {{declared here}}
86 @interface DEPRECATED { // expected-note 2 {{declared here}}
110 @property int test2 __attribute__((deprecated)); // expected-note 4 {{declared here}} \
111 // expected-note 2 {{property 'test2' is declared deprecated here}}
129 } footype __attribute((deprecated)); // expected-note 2 {{declared here}}
default-synthesize-3.m 7 @interface NoAuto // expected-note 2 {{class with specified objc_requires_property_definitions attribute is declared here}}
8 @property int NoAutoProp; // expected-note 2 {{property declared here}}
16 @interface Sub : NoAuto // expected-note 3 {{class with specified objc_requires_property_definitions attribute is declared here}}
17 @property (copy) id SubProperty; // expected-note 2 {{property declared here}}
27 @property (copy) id DeepMustSynthProperty; // expected-note {{property declared here}}
46 @property (readonly) char isFoo; // expected-note {{property declared here}}
  /external/clang/test/SemaOpenCL/
invalid-kernel.cl 3 kernel void no_ptrptr(global int **i) { } // expected-error{{kernel argument cannot be declared as a pointer to a pointer}}
  /external/clang/test/SemaTemplate/
missing-class-keyword-crash.cpp 4 // expected-note{{template parameter is declared here}}
rdar9173693.cpp 5 template< bool > struct assert_arg_pred_impl { }; // expected-note 3 {{declared here}}
temp_arg_type.cpp 2 template<typename T> class A; // expected-note 2 {{template parameter is declared here}} expected-note{{template is declared here}}
20 template<typename T> class B {}; // expected-note{{template is declared here}}
30 struct { int x; } Unnamed; // expected-note{{unnamed type used in template argument was declared here}}
  /external/libsepol/tests/policies/test-linker/
module1.conf 24 # test for attr declared in base, added to in module
28 # test for attr declared in base, added to in 2 modules
32 # test for attr declared in base optional, added to in module
36 # test for attr declared in module, added to in base optional
49 # attr a added to in base optional, declared/added to in module, added to in other module
53 # attr a added to in base optional, declared/added in module , added to in other module optional
121 # attr a added to in base optional, declared/added in module optional, added to in other module
  /dalvik/vm/compiler/codegen/arm/
CalloutHelper.h 66 /* Originally declared in Sync.h */
69 /* Originally declared in oo/TypeCheck.h */
75 /* Originally declared in oo/Array.h */
79 /* Originally declared in interp/InterpDefs.h */
83 /* Originally declared in compiler/codegen/arm/Assemble.c */
92 * Originally declared in mterp/common/FindInterface.h and only comment it here
99 /* Originally declared in alloc/Alloc.h */
103 * Functions declared in gDvmInlineOpsTable[] are used for
109 * The following functions are invoked through the compiler templates (declared
  /dalvik/vm/compiler/codegen/mips/
CalloutHelper.h 63 /* Originally declared in Sync.h */
66 /* Originally declared in oo/TypeCheck.h */
72 /* Originally declared in oo/Array.h */
76 /* Originally declared in interp/InterpDefs.h */
80 /* Originally declared in compiler/codegen/mips/Assemble.c */
89 * Originally declared in mterp/common/FindInterface.h and only comment it here
96 /* Originally declared in alloc/Alloc.h */
100 * Functions declared in gDvmInlineOpsTable[] are used for
106 * The following functions are invoked through the compiler templates (declared
  /external/clang/test/ARCMT/
atautorelease-check.m 104 // 'x' is declared inside the "pool scope" but used outside it, if we create
106 int x = 0; // expected-note {{declared here}}
110 ++x; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
117 struct S { int x; }; // expected-note {{declared here}}
121 struct S *var; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
129 enum { Bar }; // expected-note {{declared here}}
133 int x = Bar; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
140 typedef int Bar; // expected-note {{declared here}}
144 Bar x; // expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
  /external/clang/test/Modules/
module-private.cpp 62 template<> __module_private__ void public_func_template<int>(); // expected-error{{template specialization cannot be declared __module_private__}}
73 template<> __module_private__ struct public_class<int>::inner_struct { }; // expected-error{{member specialization cannot be declared __module_private__}}
74 template<> __module_private__ int public_class<int>::static_var = 17; // expected-error{{member specialization cannot be declared __module_private__}}
77 __module_private__ struct public_class<float> { }; // expected-error{{template specialization cannot be declared __module_private__}}
80 __module_private__ struct public_class<T *> { }; // expected-error{{partial specialization cannot be declared __module_private__}}
85 void local_var_private(__module_private__ int param) { // expected-error{{parameter 'param' cannot be declared __module_private__}}
86 __module_private__ struct Local { int x, y; } local; //expected-error{{local variable 'local' cannot be declared __module_private__}}
88 __module_private__ struct OtherLocal { int x; }; // expected-error{{local struct cannot be declared __module_private__}}
90 typedef __module_private__ int local_typedef; // expected-error{{typedef 'local_typedef' cannot be declared __module_private__}}
  /external/clang/test/ASTMerge/
struct.c 8 // CHECK: struct2.c:15:11: error: external variable 'x1' declared with incompatible types in different translation units ('struct S1' vs. 'struct S1')
9 // CHECK: struct1.c:18:11: note: declared here with type 'struct S1'
12 // CHECK: struct2.c:18:30: error: external variable 'x2' declared with incompatible types in different translation units ('union S2' vs. 'struct S2')
13 // CHECK: struct1.c:21:31: note: declared here with type 'struct S2'
17 // CHECK: struct2.c:21:31: error: external variable 'x3' declared with incompatible types in different translation units ('struct S3' vs. 'struct S3')
18 // CHECK: struct1.c:24:41: note: declared here with type 'struct S3'
22 // CHECK: struct2.c:24:31: error: external variable 'x4' declared with incompatible types in different translation units ('struct S4' vs. 'struct S4')
23 // CHECK: struct1.c:27:22: note: declared here with type 'struct S4'
27 // CHECK: struct2.c:30:38: error: external variable 'x6' declared with incompatible types in different translation units ('struct S6' vs. 'struct S6')
28 // CHECK: struct1.c:33:42: note: declared here with type 'struct S6
    [all...]
interface.m 5 // CHECK: interface2.m:16:9: error: instance variable 'ivar2' declared with incompatible types in different translation units ('float' vs. 'int')
6 // CHECK: interface1.m:16:7: note: declared here with type 'int'
11 // CHECK: interface1.m:34:1: note: class method 'foo' also declared here
13 // CHECK: interface1.m:40:17: note: declared here with type 'int'
15 // CHECK: interface1.m:46:1: note: class method 'bar:' also declared here
17 // CHECK: interface1.m:58:19: note: declared here with type 'float'
  /external/clang/test/FixIt/
typo.cpp 8 template<typename T> class basic_string { // expected-note 2{{'basic_string' declared here}} \
9 // expected-note {{'otherstd::basic_string' declared here}}
11 int find(const char *substr); // expected-note{{'find' declared here}}
12 static const int npos = -1; // expected-note{{'npos' declared here}}
15 typedef basic_string<char> string; // expected-note 2{{'string' declared here}}
18 namespace otherstd { // expected-note 2{{'otherstd' declared here}} \
31 float area(float radius, // expected-note{{'radius' declared here}}
54 int member; // expected-note 3{{'member' declared here}}
70 typedef int Integer; // expected-note{{'Integer' declared here}}
71 int global_value; // expected-note{{'global_value' declared here}
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
parameter-matching.cpp 8 template<typename ...T> struct X1t; // expected-note{{previous template type parameter pack declared here}}
11 template<typename T> struct X2t; // expected-note{{previous template type parameter declared here}}
17 template<template<typename ...T> class> struct X1t_intt; // expected-note{{previous template type parameter pack declared here}}
20 template<template<typename T> class> struct X2t_intt; // expected-note{{previous template type parameter declared here}}
23 template<int ...Values> struct X1nt; // expected-note{{previous non-type template parameter pack declared here}}
26 template<template<class T> class> class X1tt; // expected-note{{previous template template parameter declared here}}

Completed in 1462 milliseconds

1 2 34 5 6 7 8 91011>>