]> granicus.if.org Git - clang/commit
Add a new InsertText method that does the check to see if the insertion was valid...
authorChris Lattner <sabre@nondot.org>
Thu, 31 Jan 2008 19:42:41 +0000 (19:42 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 Jan 2008 19:42:41 +0000 (19:42 +0000)
commitf3dd57e5378bcf5fc9f05832e92479a535d9cd8a
tree92891a9d1809695290d9d91b228ef981bbea1246
parent9e13c2eb681b5d8e14f930b14300caaae22fdb92
Add a new InsertText method that does the check to see if the insertion was valid.  This
fixes crashes where the insertion point was in a macro.  Instead of crashing, we want
to emit a warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46621 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/RewriteTest.cpp