diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-31 19:42:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-31 19:42:41 +0000 |
commit | f3dd57e5378bcf5fc9f05832e92479a535d9cd8a (patch) | |
tree | 92891a9d1809695290d9d91b228ef981bbea1246 /Rewrite/Rewriter.cpp | |
parent | 9e13c2eb681b5d8e14f930b14300caaae22fdb92 (diff) |
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
Diffstat (limited to 'Rewrite/Rewriter.cpp')
0 files changed, 0 insertions, 0 deletions