summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/HTMLRewrite.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-25 16:56:02 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-25 16:56:02 +0000
commit6d28d7f2a3079745a79fb95210e641ca844a902a (patch)
treece2038de035c6cf1a2987dd4c25186533303ebe0 /clang/lib/Rewrite/HTMLRewrite.cpp
parent35f5320d8e3bd080bd6316ef13716adf011d89e9 (diff)
downloadbcm5719-llvm-6d28d7f2a3079745a79fb95210e641ca844a902a.tar.gz
bcm5719-llvm-6d28d7f2a3079745a79fb95210e641ca844a902a.zip
Rename SourceManager::getInstantiationRange to getExpansionRange.
llvm-svn: 135915
Diffstat (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r--clang/lib/Rewrite/HTMLRewrite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Rewrite/HTMLRewrite.cpp b/clang/lib/Rewrite/HTMLRewrite.cpp
index c76befbbd7f..27f383f46ce 100644
--- a/clang/lib/Rewrite/HTMLRewrite.cpp
+++ b/clang/lib/Rewrite/HTMLRewrite.cpp
@@ -519,7 +519,7 @@ void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
// expansion by inserting a start tag before the macro expansion and
// end tag after it.
std::pair<SourceLocation, SourceLocation> LLoc =
- SM.getInstantiationRange(Tok.getLocation());
+ SM.getExpansionRange(Tok.getLocation());
// Ignore tokens whose instantiation location was not the main file.
if (SM.getFileID(LLoc.first) != FID) {
OpenPOWER on IntegriCloud