aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r--lib/Lex/Preprocessor.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp
index 789d931221..31a040674f 100644
--- a/lib/Lex/Preprocessor.cpp
+++ b/lib/Lex/Preprocessor.cpp
@@ -291,11 +291,7 @@ void Preprocessor::CreateString(const char *Buf, unsigned Len, Token &Tok,
/// token, return a new location that specifies a character within the token.
SourceLocation Preprocessor::AdvanceToTokenCharacter(SourceLocation TokStart,
unsigned CharNo) {
- // If they request the first char of the token, we're trivially done. If this
- // is a macro expansion, it doesn't make sense to point to a character within
- // the instantiation point (the name). We could point to the source
- // character, but without also pointing to instantiation info, this is
- // confusing.
+ // If they request the first char of the token, we're trivially done.
if (CharNo == 0) return TokStart;
// Figure out how many physical characters away the specified instantiation