diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-18 18:56:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-18 18:56:29 +0000 |
commit | 6dcf63e920e003ea73cff332492dc11690b100a6 (patch) | |
tree | 0e0ccdf72a9cd46eec839b4ec7639a73eb97e273 /lib/Lex/Preprocessor.cpp | |
parent | 1c512f5fcb47526a09f15c26ba673a22fce91e33 (diff) |
update comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 6 |
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 |