aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-14 16:14:52 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-14 16:14:52 +0000
commit46a32c2f0a178ee61ded972af245e68b093f7d66 (patch)
treee158e727838fe31dd1f6ee19edccbc42c90eabe7 /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parent6d900dff2d0f48fcaca3343909d8ace29498310b (diff)
downloadllvm-46a32c2f0a178ee61ded972af245e68b093f7d66.zip
llvm-46a32c2f0a178ee61ded972af245e68b093f7d66.tar.gz
llvm-46a32c2f0a178ee61ded972af245e68b093f7d66.tar.bz2
Update the remaining comments in Frontend to 'expansion'.
llvm-svn: 135150
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r--clang/lib/Frontend/PrintPreprocessedOutput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
index b9c0642..c892960 100644
--- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -196,7 +196,7 @@ bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) {
if (LineNo-CurLine == 1)
OS << '\n';
else if (LineNo == CurLine)
- return false; // Spelling line moved, but instantiation line didn't.
+ return false; // Spelling line moved, but expansion line didn't.
else {
const char *NewLines = "\n\n\n\n\n\n\n\n";
OS.write(NewLines, LineNo-CurLine);
@@ -410,7 +410,7 @@ PragmaDiagnostic(SourceLocation Loc, llvm::StringRef Namespace,
/// is called for the first token on each new line. If this really is the start
/// of a new logical line, handle it and return true, otherwise return false.
/// This may not be the start of a logical line because the "start of line"
-/// marker is set for spelling lines, not instantiation ones.
+/// marker is set for spelling lines, not expansion ones.
bool PrintPPOutputPPCallbacks::HandleFirstTokOnLine(Token &Tok) {
// Figure out what line we went to and insert the appropriate number of
// newline characters.