HomeSort by relevance Sort by last modified time
    Searched full:qualifiers (Results 1 - 25 of 457) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Sema/
pointer-conversion.c 4 char const ** c2 = &c; // expected-warning {{discards qualifiers in nested pointer types}}
7 dchar *** c3 = &c2; // expected-warning {{discards qualifiers in nested pointer types}}
10 char ** c5 = &c4; // expected-warning {{discards qualifiers in nested pointer types}}
warn-write-strings.c 4 char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}}
  /external/jmonkeyengine/engine/src/core/checkers/quals/
package-info.java 3 * and meta-annotations to qualify annotations (qualifiers).
5 * They may serve as documentation for the type qualifiers, and aid the
6 * Checker Framework to infer the relations between the type qualifiers.
TypeQualifier.java 9 * Examples of such qualifiers: {@code @ReadOnly}, {@code @NonNull}
SubtypeOf.java 6 * A meta-annotation to specify all the qualifiers that the given qualifier
36 * qualifier that is a supertype of all other qualifiers in the given
51 * inferred from the meta-annotations on the explicit qualifiers.
57 /** An array of the supertype qualifiers of the annotated qualifier **/
Unqualified.java 8 * in the type qualifiers declarations.
  /external/clang/test/SemaCXX/
addr-of-overloaded-function.cpp 182 struct Qualifiers {
195 void (Qualifiers::*X)();
196 X = &Qualifiers::C; // expected-error {{assigning to 'void (test1::Qualifiers::*)()' from incompatible type 'void (test1::Qualifiers::*)() const': different qualifiers (none vs const)}}
197 X = &Qualifiers::V; // expected-error{{assigning to 'void (test1::Qualifiers::*)()' from incompatible type 'void (test1::Qualifiers::*)() volatile': different qualifiers (none vs volatile)}
    [all...]
increment-decrement.cpp 8 const int &incfail = ++i; // expected-error {{drops qualifiers}}
9 const int &decfail = --i; // expected-error {{drops qualifiers}}
address-space-conversion.cpp 80 (void)static_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}}
81 (void)static_cast<B_ptr>(ap2); // expected-error{{casts away qualifiers}}
82 (void)static_cast<B_ptr_1>(ap); // expected-error{{casts away qualifiers}}
83 (void)static_cast<B_ptr_1>(ap2); // expected-error{{casts away qualifiers}}
84 (void)static_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}}
85 (void)static_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}}
94 (void)static_cast<A_ptr>(vp1); // expected-error{{casts away qualifiers}}
95 (void)static_cast<A_ptr>(vp2); // expected-error{{casts away qualifiers}}
96 (void)static_cast<A_ptr_1>(vp); // expected-error{{casts away qualifiers}}
97 (void)static_cast<A_ptr_1>(vp2); // expected-error{{casts away qualifiers}}
    [all...]
builtins-arm.cpp 5 return __builtin_va_arg(ap, int); // expected-error {{binding of reference to type '__builtin_va_list' to a value of type 'const __builtin_va_list' drops qualifiers}}
return.cpp 1 // RUN: %clang_cc1 %s -fcxx-exceptions -fexceptions -fsyntax-only -Wignored-qualifiers -verify
43 volatile // expected-warning{{'const volatile' type qualifiers on return type have no effect}}
47 const volatile int scalar_cv(); // expected-warning{{'const volatile' type qualifiers on return type have no effect}}
  /external/clang/test/SemaObjC/
warn-write-strings.m 4 char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'const char [4]' discards qualifiers}}
gc-attributes.m 12 f0(&a2); // expected-warning{{passing 'A *__weak *' to parameter of type 'A *__strong *' discards qualifiers}}
21 f1(&a2); // expected-warning{{passing 'A *__strong *' to parameter of type 'A *__weak *' discards qualifiers}}
method-arg-qualifier-warning.m 15 [@"Identifier1" isEqualToString:Identifier1]; // expected-warning {{sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers}}
16 [@"Identifier2" isEqualToString:Identifier2]; // expected-warning {{sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers}}
catch-stmt.m 10 } @catch (id <P> c) { // expected-error{{illegal qualifiers on @catch parameter}}
  /development/samples/MultiResolution/
_index.html 1 <p>A sample application that shows how to use resource directory qualifiers to
11 <li><a href="../../../guide/practices/screens_support.html#qualifiers">Resource directory qualifiers</a>
14 <li>Resource directory qualifiers such as <code>-v4</code> and <code>-v6</code>
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p16.cpp 27 int &x = a; // expected-error{{binding of reference to type 'int' to a value of type 'const int' drops qualifiers}}
28 int &x2 = a; // expected-error{{binding of reference to type 'int' to a value of type 'const int' drops qualifiers}}
35 int &x = a; // expected-error{{binding of reference to type 'int' to a value of type 'const int' drops qualifiers}}
36 int &x2 = a; // expected-error{{binding of reference to type 'int' to a value of type 'const int' drops qualifiers}}
  /external/clang/test/SemaObjCXX/
arc-type-conversion.mm 9 (void)(__autoreleasing id*)arg; // expected-error{{C-style cast from 'id' to '__autoreleasing id *' casts away qualifiers}}
10 (void)(id*)arg; // expected-error{{C-style cast from 'id' to '__strong id *' casts away qualifiers}}
73 (void)reinterpret_cast<__strong id *>(csip); // expected-error{{reinterpret_cast from '__strong id const *' to '__strong id *' casts away qualifiers}}
74 (void)reinterpret_cast<__weak id *>(cwip); // expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
75 (void)reinterpret_cast<__weak id *>(csip); // expected-error{{reinterpret_cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
76 (void)reinterpret_cast<__strong id *>(cwip); // expected-error{{reinterpret_cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
82 // qualifiers (beyond what the normal implicit conversion allows).
84 (void)(__strong id *)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}}
85 (void)(__strong id *)cwip; // expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
86 (void)(__weak id *)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}}
    [all...]
  /external/clang/test/CodeGenCXX/
debug-info-method2.cpp 3 // Preserve type qualifiers in -flimit-debug-info mode.
  /external/clang/test/SemaOpenCL/
sampler_t.cl 8 local sampler_t smp; // expected-error {{sampler type cannot be used with the __local and __global address space qualifiers}}
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-var.cpp 55 Base &br3 = bc; // expected-error{{drops qualifiers}}
56 Base &br4 = dc; // expected-error{{drops qualifiers}}
67 volatile Base &bvr3 = bvc; // expected-error{{binding of reference to type 'volatile Base' to a value of type 'const volatile Base' drops qualifiers}}
68 volatile Base &bvr4 = dvc; // expected-error{{binding of reference to type 'volatile Base' to a value of type 'const volatile Derived' drops qualifiers}}
70 volatile int &ir = ivc; // expected-error{{binding of reference to type 'volatile int' to a value of type 'const volatile int' drops qualifiers}}
121 const Base &br5 = create<const volatile Base>(); // expected-error{{binding of reference to type 'const Base' to a value of type 'const volatile Base' drops qualifiers}}
122 const Base &br6 = create<const volatile Derived>(); // expected-error{{binding of reference to type 'const Base' to a value of type 'const volatile Derived' drops qualifiers}}
  /external/clang/include/clang/AST/
Type.h 108 /// Qualifiers - The collection of all-type qualifiers we support.
109 /// Clang supports five independent qualifiers:
113 class Qualifiers {
162 Qualifiers() : Mask(0) {}
164 /// \brief Returns the common set of qualifiers while removing them from
166 static Qualifiers removeCommonQualifiers(Qualifiers &L, Qualifiers &R) {
169 Qualifiers Q
    [all...]
  /external/clang/lib/CodeGen/
CGValue.h 132 Qualifiers Quals;
164 void Initialize(QualType Type, Qualifiers Quals,
190 return Quals.getCVRQualifiers() & ~Qualifiers::Const;
195 Qualifiers::ObjCLifetime getObjCLifetime() const {
222 return Quals.getObjCGCAttr() == Qualifiers::Weak;
225 return Quals.getObjCGCAttr() == Qualifiers::Strong;
238 const Qualifiers &getQuals() const { return Quals; }
239 Qualifiers &getQuals() { return Quals; }
277 Qualifiers qs = type.getQualifiers();
335 // Qualifiers
    [all...]
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/
p3.cpp 8 // If A is a cv-qualified type, the top level cv-qualifiers of A's type
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
p17.cpp 15 g(b); // OK: cv-qualifiers are ignored on template parameter types

Completed in 442 milliseconds

1 2 3 4 5 6 7 8 91011>>