aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-25 20:57:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-25 20:57:57 +0000
commit42f35f9cd226daa097c2345499ed271804613044 (patch)
treeb4a603faf33f988649d1987988d03fe830794767 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parentc2d8c6be92db54191871d8afc967cb334d6dc2be (diff)
downloadllvm-42f35f9cd226daa097c2345499ed271804613044.zip
llvm-42f35f9cd226daa097c2345499ed271804613044.tar.gz
llvm-42f35f9cd226daa097c2345499ed271804613044.tar.bz2
Rename getInstantiationColumnNumber to getExpansionColumnNumber in both
SourceManager and FullSourceLoc. llvm-svn: 135965
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r--clang/lib/Frontend/PrintPreprocessedOutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
index 0bfb6a2..6f9253d 100644
--- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -419,7 +419,7 @@ bool PrintPPOutputPPCallbacks::HandleFirstTokOnLine(Token &Tok) {
// Print out space characters so that the first token on a line is
// indented for easy reading.
- unsigned ColNo = SM.getInstantiationColumnNumber(Tok.getLocation());
+ unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation());
// This hack prevents stuff like:
// #define HASH #