"be completed."])
self.runCmd("process continue")
+ @expectedFailureAll(archs=["i[3-6]86"], bugnumber="<rdar://problem/28814052>")
def test_NSError_p(self):
"""Test that p of the result of an unknown method does require a cast."""
self.build()
ThingSummer *summer = [ThingSummer alloc];
struct things_to_sum tts = { 2, 3, 4 };
int ret = [summer sumThings:tts];
-
NSRect rect = {{0, 0}, {10, 20}};
-
- // Set breakpoint here.
- return rect.origin.x;
+ // The Objective C V1 runtime won't read types from metadata so we need
+ // NSValue in our debug info to use it in our test.
+ NSValue *v = [NSValue valueWithRect:rect];
+ return rect.origin.x; // Set breakpoint here.
}
}
}
DeclVendor *decl_vendor = m_runtime.GetDeclVendor();
-
- assert(decl_vendor); // how are we parsing type encodings for expressions if
- // a type vendor isn't in play?
+ if (!decl_vendor)
+ return clang::QualType();
const bool append = false;
const uint32_t max_matches = 1;