projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873d467
)
Fix compile warning.
author
Greg Clayton
<gclayton@apple.com>
Tue, 15 Jul 2014 23:27:56 +0000
(23:27 +0000)
committer
Greg Clayton
<gclayton@apple.com>
Tue, 15 Jul 2014 23:27:56 +0000
(23:27 +0000)
llvm-svn: 213106
lldb/test/lang/objc/foundation/main.m
patch
|
blob
|
history
diff --git
a/lldb/test/lang/objc/foundation/main.m
b/lldb/test/lang/objc/foundation/main.m
index
6ae0d71
..
519bec5
100644
(file)
--- a/
lldb/test/lang/objc/foundation/main.m
+++ b/
lldb/test/lang/objc/foundation/main.m
@@
-90,7
+90,7
@@
NSString *my_global_str = NULL;
void
Test_MyString (const char *program)
{
- my_global_str =
[NSString stringWithString:@"This is a global string"]
;
+ my_global_str =
@"This is a global string"
;
NSString *str = [NSString stringWithFormat:@"Hello from '%s'", program];
MyString *my = [[MyString alloc] initWithNSString:str];
NSLog(@"MyString instance: %@", [my description]);