Re: [PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-19 Thread Bruno Cardoso Lopes via cfe-commits
bruno closed this revision. bruno added a comment. Thanks Manman, Committed r276020 https://reviews.llvm.org/D22183 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-18 Thread Manman Ren via cfe-commits
manmanren accepted this revision. manmanren added a comment. This revision is now accepted and ready to land. LGTM. Manman Comment at: lib/Parse/ParseObjc.cpp:3489 @@ -3478,3 +3488,3 @@ -// Parse the ellipsis that designates this as a pack expansion. -SourceLocati

Re: [PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-18 Thread Bruno Cardoso Lopes via cfe-commits
bruno added a comment. Ping! https://reviews.llvm.org/D22183 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-15 Thread Bruno Cardoso Lopes via cfe-commits
bruno updated this revision to Diff 64162. bruno added a comment. Thanks for the review Manman, I found a much better approach. Updated the patch to reflect that! https://reviews.llvm.org/D22183 Files: lib/Parse/ParseObjc.cpp test/SemaObjC/objc-array-literal.m test/SemaObjC/objc-dictiona

Re: [PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-12 Thread Manman Ren via cfe-commits
manmanren added a comment. > Before this patch, the testcase added used to take > 5s to compile!!! A bit more elaborate NSDictionary literal with some > undeclared enums would make the compiler take 22min to run, followed by a > crash. --> this is a big improvement! A few notes from discu

[PATCH] D22183: [SemObjC] Fix TypoExpr handling in TransformObjCDictionaryLiteral

2016-07-08 Thread Bruno Cardoso Lopes via cfe-commits
bruno created this revision. bruno added reviewers: manmanren, doug.gregor. bruno added a subscriber: cfe-commits. Calls to TransformExpr for NSDictionary elements (keys and values) in TransformObjCDictionaryLiteral might fail to obtain TypoCorrections. This is OK, but the early exits with ExprErr