TestObjCMethods.FoundationTestCase was failing due to an error, fixed now.

<rdar://problem/16322133>
llvm.org/pr20267



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213111 91177308-0d34-0410-b5e6-96231b3b80d8
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.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213113 91177308-0d34-0410-b5e6-96231b3b80d8