diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-17 06:29:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-17 06:29:33 +0000 |
commit | 6b7b84036126a8f2a3e312cfec0a9a4f8ae9d8ed (patch) | |
tree | 50bcfc6617efa112aa3896ec7b96512744b4cd63 /include/clang/Lex/Preprocessor.h | |
parent | 2b2453a7d8fe732561795431f39ceb2b2a832d84 (diff) |
suck the call to "getSpellingLoc" that all clients do into
the implementation of PTHManager::getSpelling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index e453fd04d6..3956725ffa 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -455,7 +455,6 @@ public: /// location in the appropriate MemoryBuffer. char getSpelledCharacterAt(SourceLocation SL) const { if (PTH) { - SL = SourceMgr.getSpellingLoc(SL); const char *Data; if (PTH->getSpelling(SL, Data)) return *Data; |