commit | 96a0014f9b963d8a987f1cccd48808a47f9c6331 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Mar 09 18:35:03 2012 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Mar 09 18:35:03 2012 +0000 |
tree | 648ade07f20cf96e38d8b66e21859f2794a8f579 | |
parent | 3d4144f32ea4c24aaf48cbff4f476c1446ba2641 [diff] |
[AST/Sema/libclang] Replace getSourceRange().getBegin() with getLocStart(). - getSourceRange().getBegin() is about as awesome a pattern as .copy().size(). I already killed the hot paths so this doesn't seem to impact performance on my tests-of-the-day, but it is a much more sensible (and shorter) pattern. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152419 91177308-0d34-0410-b5e6-96231b3b80d8