diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 16:56:02 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 16:56:02 +0000 |
commit | 6d28d7f2a3079745a79fb95210e641ca844a902a (patch) | |
tree | ce2038de035c6cf1a2987dd4c25186533303ebe0 /clang/lib/Rewrite/HTMLRewrite.cpp | |
parent | 35f5320d8e3bd080bd6316ef13716adf011d89e9 (diff) | |
download | bcm5719-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.cpp | 2 |
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) { |