summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-15 06:46:25 +0000
committerChris Lattner <sabre@nondot.org>2007-07-15 06:46:25 +0000
commitb1711e848542dade3ee89b70dbaa06c8c37381e9 (patch)
tree0bcfad2663f49a2e66ee248f24785c2f51a84683
parent3fc74e2468ca6952882affbf6f0c3ded3047ae5d (diff)
downloadbcm5719-llvm-b1711e848542dade3ee89b70dbaa06c8c37381e9.tar.gz
bcm5719-llvm-b1711e848542dade3ee89b70dbaa06c8c37381e9.zip
remove obsolete comment.
llvm-svn: 39868
-rw-r--r--clang/Lex/MacroExpander.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/Lex/MacroExpander.cpp b/clang/Lex/MacroExpander.cpp
index c98949ec1d3..ed1725dccf7 100644
--- a/clang/Lex/MacroExpander.cpp
+++ b/clang/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));
}
OpenPOWER on IntegriCloud