Fixed the an objective C test case so it passes correctly.
authorGreg Clayton <gclayton@apple.com>
Wed, 16 Jul 2014 00:42:06 +0000 (00:42 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 16 Jul 2014 00:42:06 +0000 (00:42 +0000)
commit2c156f852c6e52772b06c6342c1b03a64e7f06e7
treeb476b86cefbe3de33fd7553abd53e88624d6c5c2
parente470771b3a183827b96327b2b7ad188272c4bb6e
Fixed the an objective C test case so it passes correctly.

Fixed the test case to use a runtime function prototype that will be correct ([NSString stringWithCString: "new"]) instead of one that won't (expression str = [NSString stringWithFormat: @"%cew", 'N']). The runtime doesn't track vararg functions correctly so we can't reconstitute the function correctly.

Also fixed some expressions that used "str_id" whose type was "id" and do the necessary casting since "id" doesn't have any methods.

llvm-svn: 213113
lldb/test/lang/objc/foundation/TestObjCMethods2.py