commit | f3dd57e5378bcf5fc9f05832e92479a535d9cd8a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 31 19:42:41 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 31 19:42:41 2008 +0000 |
tree | 92891a9d1809695290d9d91b228ef981bbea1246 | |
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