r240888 - Fix typo. NFC.
Alex Denisov
1101.debian at gmail.com
Sat Jun 27 12:04:56 PDT 2015
Author: alexdenisov
Date: Sat Jun 27 14:04:55 2015
New Revision: 240888
URL: http://llvm.org/viewvc/llvm-project?rev=240888&view=rev
Log:
Fix typo. NFC.
Modified:
cfe/trunk/docs/ObjectiveCLiterals.rst
Modified: cfe/trunk/docs/ObjectiveCLiterals.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ObjectiveCLiterals.rst?rev=240888&r1=240887&r2=240888&view=diff
==============================================================================
--- cfe/trunk/docs/ObjectiveCLiterals.rst (original)
+++ cfe/trunk/docs/ObjectiveCLiterals.rst Sat Jun 27 14:04:55 2015
@@ -136,8 +136,8 @@ and some C structures (via NSValue) are
NSString *path = @(getenv("PATH")); // [NSString stringWithUTF8String:(getenv("PATH"))]
NSArray *pathComponents = [path componentsSeparatedByString:@":"];
- // NS structs
- NSValue *center = @(view.center); // Point p = view.point;
+ // structs.
+ NSValue *center = @(view.center); // Point p = view.center;
// [NSValue valueWithBytes:&p objCType:@encode(Point)];
NSValue *frame = @(view.frame); // Rect r = view.frame;
// [NSValue valueWithBytes:&r objCType:@encode(Rect)];
More information about the cfe-commits
mailing list