diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 04:56:51 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 04:56:51 +0000 |
commit | 1728762d5a8cfaf8d64385f47b311e84de1ae7a2 (patch) | |
tree | 9a13a5ab972313f0f229383acc70f1bebc0385c0 /lib/Serialization/ASTWriter.cpp | |
parent | 78df836808aee22c3157e1bc23bc4ec569b80568 (diff) |
Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'
etc. With this I think essentially all of the SourceManager APIs are
converted. Comments and random other bits of cleanup should be all thats
left.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | lib/Serialization/ASTWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp index 6e3966e65b..c94b96d18c 100644 --- a/lib/Serialization/ASTWriter.cpp +++ b/lib/Serialization/ASTWriter.cpp @@ -1505,7 +1505,7 @@ void ASTWriter::WriteSourceManagerBlock(SourceManager &SourceMgr, } } else { // The source location entry is a macro expansion. - const SrcMgr::ExpansionInfo &Expansion = SLoc->getInstantiation(); + const SrcMgr::ExpansionInfo &Expansion = SLoc->getExpansion(); Record.push_back(Expansion.getSpellingLoc().getRawEncoding()); Record.push_back(Expansion.getExpansionLocStart().getRawEncoding()); Record.push_back(Expansion.getExpansionLocEnd().getRawEncoding()); |