commit | 65d78312ce026092cb6e7b1d4d06f05e18d02aa0 | [log] [tgz] |
---|---|---|
author | Erik Verbruggen <erikjv@me.com> | Tue Dec 25 14:51:39 2012 +0000 |
committer | Erik Verbruggen <erikjv@me.com> | Tue Dec 25 14:51:39 2012 +0000 |
tree | 165233da9770e9d2bf6b5d46af36b1303d7db11d | |
parent | 38980086c0f791e8c23cc882574f18e5b4a87db6 [diff] |
Fix for PR12222. Changed getLocStart() and getLocEnd() to be required for Stmts, and make getSourceRange() optional. The default implementation for getSourceRange() is build the range by calling getLocStart() and getLocEnd(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171067 91177308-0d34-0410-b5e6-96231b3b80d8