From 6d28d7f2a3079745a79fb95210e641ca844a902a Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 25 Jul 2011 16:56:02 +0000 Subject: Rename SourceManager::getInstantiationRange to getExpansionRange. llvm-svn: 135915 --- clang/lib/Rewrite/HTMLRewrite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Rewrite/HTMLRewrite.cpp') 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 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) { -- cgit v1.2.3