Home
last modified time | relevance | path

Searched refs:qualifiers (Results 1 – 25 of 69) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-type-conversion.mm74 … expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *' casts away qualifiers}}
82 // qualifiers (beyond what the normal implicit conversion allows).
84 …)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *' casts away qualifiers}}
85 …// expected-error{{C-style cast from '__weak id const *' to '__strong id *' casts away qualifiers}}
86 …)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *' casts away qualifiers}}
87 …// expected-error{{C-style cast from '__strong id const *' to '__weak id *' casts away qualifiers}}
89 …// expected-error{{C-style cast from '__weak id *' to '__strong id const *' casts away qualifiers}}
90 …ected-error{{C-style cast from '__weak id const *' to '__strong id const *' casts away qualifiers}}
91 …// expected-error{{C-style cast from '__strong id *' to '__weak id const *' casts away qualifiers}}
92 …ected-error{{C-style cast from '__strong id const *' to '__weak id const *' casts away qualifiers}}
[all …]
H A Darc-templates.mm43 // lifetime qualifiers.
81 // Adding qualifiers
85 // Adding redundant qualifiers
89 // Adding nonsensical qualifiers.
262 // Template argument deduction involving lifetime qualifiers and
276 // More deduction with lifetime qualifiers.
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dgc-attributes.m12 … expected-warning{{passing 'A *__weak *' to parameter of type 'A *__strong *' discards qualifiers}}
21 … expected-warning{{passing 'A *__strong *' to parameter of type 'A *__weak *' discards qualifiers}}
24 // These qualifiers should silently expand to nothing in GC mode.
H A Dmethod-arg-qualifier-warning.m15 …pected-warning {{sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers}}
16 …pected-warning {{sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers}}
H A Dwarn-write-strings.m4 …ed-warning {{initializing 'char *' with an expression of type 'const char[4]' discards qualifiers}}
H A Dnullability-arc.m7 // ARC qualifiers stacked with nullability.
H A Dcatch-stmt.m10 } @catch (id <P> c) { // expected-error{{illegal qualifiers on @catch parameter}}
H A Dparameterized_classes.m214 // protocol qualifiers).
217 // Type arguments and protocol qualifiers.
220 // Type arguments and protocol qualifiers in the wrong order.
221 …NSObject *, id> typeArgsAndProtocolQuals2; // expected-error{{protocol qualifiers must precede typ…
223 // Type arguments and protocol qualifiers (identifiers).
H A Dprotocol-archane.m30 NotAnObjCObjectType <SomeProtocol> *obj; // expected-error {{invalid protocol qualifiers on non-Obj…
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Ddebug-info-qualifiers.ll1 ; Test (r)value qualifiers on C++11 non-static member functions.
2 ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp
64 !1 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
68 !5 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
78 !18 = !DIFile(filename: "debug-info-qualifiers.cpp", directory: "")
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Daccess-qualifier.cl84 kernel void k7(read_only img1d_wo img){} // expected-error {{multiple access qualifiers}}
86 kernel void k8(write_only img1d_ro_default img){} // expected-error {{multiple access qualifiers}}
92 kernel void k11(read_only write_only image1d_t i){} // expected-error{{multiple access qualifiers}}
118 // Conflicting access qualifiers
120 … void pipe_ro_wo(read_only write_only pipe int i){} // expected-error{{multiple access qualifiers}}
H A Dsampler_t.cl18 …ampler type cannot be used with the __local and __global address space qualifiers}} expected-error…
19 …xpected-error{{sampler type cannot be used with the __local and __global address space qualifiers}}
56 …xpected-error{{sampler type cannot be used with the __local and __global address space qualifiers}}
H A Dpredefined-expr.cl6 …nstant char *__private' with an expression of type 'const __constant char[2]' discards qualifiers}}
H A Dvector-conv.cl20 … int4 *__private' with an expression of type 'const __global int4 *__private' discards qualifiers}}
/llvm-project-15.0.7/lldb/unittests/Language/CPlusPlus/
H A DCPlusPlusLanguageTest.cpp20 std::string context, basename, arguments, qualifiers, scope_qualified_name; in TEST() member
120 EXPECT_EQ(test.qualifiers, method.GetQualifiers().str()); in TEST()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dqualified-auto.rst35 ``volatile`` qualifiers. Pointers to pointers will not be fully qualified.
58 When set to `true` the check will add const qualifiers variables defined as
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Daddress-space-templates.clcpp11 …substitution failure [with T = __local int]: conflicting address space qualifiers are provided bet…
22 …__private T ii; // expected-error{{conflicting address space qualifiers are provided between types…
H A Dremove-address-space.clcpp39 "non-address-space qualifiers inappropriately removed by __remove_address_space");
/llvm-project-15.0.7/clang/test/Sema/
H A Dpredef.c9 …ed-warning {{initializing 'char *' with an expression of type 'const char[1]' discards qualifiers}}
/llvm-project-15.0.7/clang/test/Parser/
H A Dasm-qualifiers.c3 void qualifiers(void) { in qualifiers() function
/llvm-project-15.0.7/clang/test/Misc/
H A Ddiag-template-diffing-cxx98.cpp35 namespace qualifiers { namespace
/llvm-project-15.0.7/clang/docs/analyzer/developer-docs/
H A Dnullability.rst7 RFC: https://discourse.llvm.org/t/rfc-nullability-qualifiers/35672
91qualifiers would be needed to be tracked for each symbol. This is not a big caveat, since once the…
/llvm-project-15.0.7/libcxx/test/libcxx/type_traits/
H A Dis_pointer.arc.pass.mm17 // Test that we correctly handle Objective-C++ ARC qualifiers on pointers.
/llvm-project-15.0.7/llvm/test/Demangle/
H A Dms-cxx14.test1 ; These tests are based on clang/test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.h35 llvm::StringRef qualifiers; member

123