[cfe-commits] r39868 - /cfe/trunk/Lex/MacroExpander.cpp
Chris Lattner
sabre at nondot.org
Sat Jul 14 23:46:25 PDT 2007
Author: lattner
Date: Sun Jul 15 01:46:25 2007
New Revision: 39868
URL: http://llvm.org/viewvc/llvm-project?rev=39868&view=rev
Log:
remove obsolete comment.
Modified:
cfe/trunk/Lex/MacroExpander.cpp
Modified: cfe/trunk/Lex/MacroExpander.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/MacroExpander.cpp?rev=39868&r1=39867&r2=39868&view=diff
==============================================================================
--- cfe/trunk/Lex/MacroExpander.cpp (original)
+++ cfe/trunk/Lex/MacroExpander.cpp Sun Jul 15 01:46:25 2007
@@ -496,9 +496,6 @@
// 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));
}
More information about the cfe-commits
mailing list