diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-15 06:46:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-15 06:46:25 +0000 |
commit | dda75cf84c5d3b1367f57ffaf45c4d3ed96630b3 (patch) | |
tree | 1f3f31a0626273a19a648507f7e3acf1f42dbd62 /Lex/MacroExpander.cpp | |
parent | abca2bba54197256f2830f757218cfbea2ed9cd1 (diff) |
remove obsolete comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Lex/MacroExpander.cpp')
-rw-r--r-- | Lex/MacroExpander.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lex/MacroExpander.cpp b/Lex/MacroExpander.cpp index c98949ec1d..ed1725dccf 100644 --- a/Lex/MacroExpander.cpp +++ b/Lex/MacroExpander.cpp @@ -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)); } |