HomeSort by relevance Sort by last modified time
    Searched full:qualifiers (Results 1 - 25 of 446) 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}}
predef.c 9 expected-warning {{initializing 'char *' with an expression of type 'const char [1]' discards qualifiers}}
void_arg.c 26 void f(const void); // expected-error {{parameter must not have type qualifiers}}
  /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}}
protocol-archane.m 11 bar((<SomeProtocol>)x); // expected-warning {{protocol qualifiers without 'id' is archaic}}
13 [(<SomeProtocol>)x bar]; // expected-warning {{protocol qualifiers without 'id' is archaic}}
30 NotAnObjCObjectType <SomeProtocol> *obj; // expected-error {{invalid protocol qualifiers on non-ObjC type}}
40 - (void)crashWith:(<Broken>)a { // expected-warning {{protocol qualifiers without 'id' is archaic}}
catch-stmt.m 10 } @catch (id <P> c) { // expected-error{{illegal qualifiers on @catch parameter}}
  /external/clang/test/SemaCXX/
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...]
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}}
  /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/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...]
arc-0x.mm 14 // Ensure that deduction works with lifetime qualifiers.
  /external/clang/test/Parser/
placeholder-recovery.m 8 // expected-warning{{protocol qualifiers without 'id'}}
  /sdk/ide_common/tests/src/com/android/ide/common/resources/configuration/
FolderConfigurationTest.java 24 * Test createDefault creates all the qualifiers.
33 // make sure all the qualifiers were created.
  /external/clang/lib/CodeGen/
CGValue.h 132 Qualifiers Quals;
159 void Initialize(QualType Type, Qualifiers Quals, unsigned Alignment = 0,
183 return Quals.getCVRQualifiers() & ~Qualifiers::Const;
188 Qualifiers::ObjCLifetime getObjCLifetime() const {
208 return Quals.getObjCGCAttr() == Qualifiers::Weak;
211 return Quals.getObjCGCAttr() == Qualifiers::Strong;
224 const Qualifiers &getQuals() const { return Quals; }
225 Qualifiers &getQuals() { return Quals; }
272 Qualifiers qs = type.getQualifiers();
328 R.Initialize(QualType(), Qualifiers());
    [all...]
  /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/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
p2.cpp 3 // FIXME: test with non-std qualifiers
25 ConstAssignment& operator=(ConstAssignment&&) const = default; // expected-error {{an explicitly-defaulted move assignment operator may not have 'const', 'constexpr' or 'volatile' qualifiers}}
60 ConstAssignment& operator=(const ConstAssignment&) const = default; // expected-error {{an explicitly-defaulted copy assignment operator may not have 'const', 'constexpr' or 'volatile' qualifiers}}
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/
p3.cpp 7 // 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
  /external/oprofile/libregex/
demangle_symbol.h 36 * qualifiers such as "const".
  /external/clang/include/clang/AST/
Type.h 105 /// Qualifiers - The collection of all-type qualifiers we support.
106 /// Clang supports five independent qualifiers:
110 class Qualifiers {
159 Qualifiers() : Mask(0) {}
161 static Qualifiers fromFastMask(unsigned Mask) {
162 Qualifiers Qs;
167 static Qualifiers fromCVRMask(unsigned CVR) {
168 Qualifiers Qs;
173 // Deserialize qualifiers from an opaque representation
    [all...]
  /sdk/ide_common/src/com/android/ide/common/resources/configuration/
FolderConfiguration.java 37 // get the default qualifiers.
115 * Sets the config from the qualifiers of a given <var>config</var>.
126 * Sets the config from the qualifiers of a given <var>config</var>.
128 * @param nonFakeValuesOnly if set to true this ignore qualifiers for which the
146 * <p/>This makes qualifiers at all indices <code>null</code>.
155 * Removes the qualifiers from the receiver if they are present (and valid)
167 * Adds the non-qualifiers from the given config.
168 * Qualifiers that are null in the given config do not change in the receiver.
189 // all allocated qualifiers are valid, we return null.
288 * Returns a qualifier by its index. The total number of qualifiers can be accessed b
    [all...]

Completed in 517 milliseconds

1 2 3 4 5 6 7 8 91011>>