Home
last modified time | relevance | path

Searched refs:TestObject (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/
H A Dreference.C21 class TestObject
24 TestObject(CONST TestObject& inObj);
25 TestObject();
26 ~TestObject();
28 TestObject& operator=(CONST TestObject& inObj);
37 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
46 TestObject::TestObject() in TestObject() function
53 TestObject::~TestObject() in ~TestObject()
60 TestObject& TestObject::operator=(CONST TestObject& inObj)
68 void TestObject::test(void) { in test()
[all …]
H A Dcopyconstructor.C18 class TestObject
21 TestObject(CONST TestObject& inObj);
22 TestObject();
23 ~TestObject();
25 TestObject& operator=(CONST TestObject& inObj);
32 TestObject::TestObject(CONST TestObject& inObj) in TestObject() function
41 TestObject::TestObject() in TestObject() function
48 TestObject::~TestObject() in ~TestObject()
55 TestObject& TestObject::operator=(CONST TestObject& inObj)
65 TestObject one; in testRoutine()
H A Djosh.C14 struct TestObject { struct
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnullability-no-arc.mm17 @interface TestObject : NSObject interface
20 TestObject *_Nonnull returnsNilObjCInstanceIndirectly() {
21 TestObject *local = nil;
26 TestObject *local = nil;
27 return (TestObject * _Nonnull)local; // no-warning
30 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
37 return (TestObject * _Nonnull)nil; // no-warning
40 void testObjCNonARCNoInitialization(TestObject * _Nonnull p) {
93 - (TestObject * _Nonnull) returnsNil {
94 return (TestObject * _Nonnull)nil;
[all …]
H A Dnullability_nullonly.mm92 @interface TestObject : NSObject interface
95 TestObject *_Nonnull getNonnullTestObject();
98 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
109 TestObject * _Nonnull returnsNilObjCInstanceIndirectly() {
110 TestObject *local = nil;
114 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
115 TestObject *local = nil;
116 return (TestObject * _Nonnull)local; // no-warning
119 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
123 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
[all …]
H A Dnullability.mm37 @interface TestObject : NSObject interface
47 TestObject * getUnspecifiedTestObject();
48 TestObject *_Nonnull getNonnullTestObject();
49 TestObject *_Nullable getNullableTestObject();
146 TestObject *o = getUnspecifiedTestObject();
405 - (TestObject * _Nonnull)testReturnsNullableInNonnullIndirectly {
406 TestObject *local = getNullableTestObject();
411 TestObject *local = getNullableTestObject();
412 return (TestObject * _Nonnull)local; // no-warning
415 - (TestObject * _Nonnull)testReturnsNullableInNonnullWhenPreconditionViolated:(TestObject * _Nonnul…
[all …]
H A Dincorrect-checker-names.mm14 @interface TestObject : NSObject interface
24 TestObject * getUnspecifiedTestObject();
25 TestObject *_Nonnull getNonnullTestObject();
26 TestObject *_Nullable getNullableTestObject();
H A Dlocalization.m35 @interface TestObject : NSObject interface
53 - (void)testObjectAsArgument:(TestObject *)argumentObject { argument
H A Dlocalization-aggressive.m50 @interface TestObject : NSObject interface
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dcopy-in-cplus-object.cpp8 struct TestObject struct
10 TestObject(const TestObject& inObj, int def = 100, const S &Silly = "silly");
11 TestObject();
12 ~TestObject();
13 TestObject& operator=(const TestObject& inObj);
19 TestObject one; in testRoutine()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dat-defs.m9 @interface TestObject : Test { interface
15 @implementation TestObject implementation
18 @defs(TestObject)
26 TestObject * a = (id)malloc(100);
H A Dnsobject-attribute-1.m11 @interface TestObject { interface
17 @implementation TestObject implementation
H A Ddefault-synthesize-3.m120 @protocol TestObject protocol
124 @interface TestObject : ParentObject <TestObject> interface
128 @implementation TestObject implementation