commit | cfd61c8faf638962f1f37807b5a8a565c20f4b57 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Oct 16 22:51:17 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Oct 16 22:51:17 2007 +0000 |
tree | c80cf95fa5a0ac8fddfe623d1259aeee526374bc | |
parent | 6fe8b27c7cda9a6a307469be94770aed9c6ae343 [diff] [blame] |
Fix location processing of @encode: the range should include the @ sign. @selector probably gets this wrong also. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43048 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/RewriteTest.cpp b/Driver/RewriteTest.cpp index 731d6fe..8a6d1df 100644 --- a/Driver/RewriteTest.cpp +++ b/Driver/RewriteTest.cpp
@@ -114,7 +114,7 @@ printf("BLAH!"); } - Rewrite.RemoveText(Exp->getEncLoc(), Size); + Rewrite.RemoveText(Exp->getAtLoc(), Size); #endif }