]> granicus.if.org Git - clang/commitdiff
remove obsolete comment.
authorChris Lattner <sabre@nondot.org>
Sun, 15 Jul 2007 06:46:25 +0000 (06:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Jul 2007 06:46:25 +0000 (06:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39868 91177308-0d34-0410-b5e6-96231b3b80d8

Lex/MacroExpander.cpp

index c98949ec1d304104327270e89c6379e02ac52082..ed1725dccf7959dc0eab78012b46b22ab30b5af3 100644 (file)
@@ -496,9 +496,6 @@ void MacroExpander::Lex(LexerToken &Tok) {
   // that captures all of this.
   if (InstantiateLoc.isValid()) {   // Don't do this for token streams.
     SourceManager &SrcMgr = PP.getSourceManager();
-    // The token could have come from a prior macro expansion.  In that case,
-    // ignore the macro expand part to get to the physloc.  This happens for
-    // stuff like:  #define A(X) X    A(A(X))    A(1)
     Tok.setLocation(SrcMgr.getInstantiationLoc(Tok.getLocation(), 
                                                InstantiateLoc));
   }