]> granicus.if.org Git - clang/commitdiff
update comment.
authorChris Lattner <sabre@nondot.org>
Wed, 18 Feb 2009 18:56:29 +0000 (18:56 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Feb 2009 18:56:29 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64939 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/Preprocessor.cpp

index 789d9312215be50ba6585b106c3f07d4a6239294..31a040674f7efed4509036ce75ee34d5eb90de5d 100644 (file)
@@ -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