changeset 201:a96fbbdf2d0f

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 04 Jun 2021 21:07:06 +0900
parents 40b1cab18437
children d6e4c9eda2cc
files clang/lib/Lex/Preprocessor.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/clang/lib/Lex/Preprocessor.cpp	Fri Jun 04 20:14:29 2021 +0900
+++ b/clang/lib/Lex/Preprocessor.cpp	Fri Jun 04 21:07:06 2021 +0900
@@ -1451,6 +1451,7 @@
       Lex(Tok);
     }
     CurLexer = std::move(lx);
+    CurPPLexer = CurLexer.get();
     EnterMacro(Result, Loc, MI , 0 );
     // EnterTokenStream(&MI->ReplacementTokens,MI->getNumTokens(),true,true,false);
     return Result;