summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-interface-as-param.m
Commit message (Collapse)AuthorAgeFilesLines
* FixIt: use getLocForEndOfToken to insert fix-it after a type name.Manman Ren2016-06-021-2/+11
| | | | | | | | | | | | | | | | Instead of setting DeclSpec's range end to point to the next token after the DeclSpec, we use getLocForEndOfToken to insert fix-it after a type name. Before this fix, fix-it will change ^(NSView view) to ^(*NSView view) This commit correctly updates the source to ^(NSView* view). rdar://21042144 Differential Revision: http://reviews.llvm.org/D20844 llvm-svn: 271448
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* objc: position of 'fixit' was off by one.Fariborz Jahanian2012-05-291-1/+1
| | | | | | This patch fixes it. // rdar://11488351 llvm-svn: 157646
* objective-c. Fixes a 'fixit' where location ofFariborz Jahanian2012-05-091-0/+11
'*' on objective-c class name was misplaced. // rdar://11311333 llvm-svn: 156517
OpenPOWER on IntegriCloud