summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-15 00:04:35 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-15 00:04:35 +0000
commit2536641cd52f931ed9d95cdc5237a6cb74dc685d (patch)
treeaa2b65a8459bcc63c5ddaa59a2de616a53e29083 /clang/lib
parent3f610268d769a97bad4721d871a856f79e47c5fc (diff)
downloadbcm5719-llvm-2536641cd52f931ed9d95cdc5237a6cb74dc685d.tar.gz
bcm5719-llvm-2536641cd52f931ed9d95cdc5237a6cb74dc685d.zip
Switch comments and assert text in AST from 'instantiation' to
'expansion'. llvm-svn: 135224
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/ASTImporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp
index 9f5719f0293..f5e392f88d0 100644
--- a/clang/lib/AST/ASTImporter.cpp
+++ b/clang/lib/AST/ASTImporter.cpp
@@ -4246,8 +4246,8 @@ SourceLocation ASTImporter::Import(SourceLocation FromLoc) {
SourceManager &FromSM = FromContext.getSourceManager();
// For now, map everything down to its spelling location, so that we
- // don't have to import macro instantiations.
- // FIXME: Import macro instantiations!
+ // don't have to import macro expansions.
+ // FIXME: Import macro expansions!
FromLoc = FromSM.getSpellingLoc(FromLoc);
std::pair<FileID, unsigned> Decomposed = FromSM.getDecomposedLoc(FromLoc);
SourceManager &ToSM = ToContext.getSourceManager();
@@ -4268,7 +4268,7 @@ FileID ASTImporter::Import(FileID FromID) {
SourceManager &FromSM = FromContext.getSourceManager();
SourceManager &ToSM = ToContext.getSourceManager();
const SrcMgr::SLocEntry &FromSLoc = FromSM.getSLocEntry(FromID);
- assert(FromSLoc.isFile() && "Cannot handle macro instantiations yet");
+ assert(FromSLoc.isFile() && "Cannot handle macro expansions yet");
// Include location of this file.
SourceLocation ToIncludeLoc = Import(FromSLoc.getFile().getIncludeLoc());
OpenPOWER on IntegriCloud