================
@@ -1412,7 +1412,7 @@ void Parser::zOSHandlePragmaHelper(tok::TokenKind
PragmaKind) {
auto *TheTokens =
(std::pair<std::unique_ptr<Token[]>, size_t> *)Tok.getAnnotationValue();
PP.EnterTokenStream(std::move(TheTokens->first), TheTokens->second, true,
- false);
+ /*IsReinject=*/true);
----------------
erichkeane wrote:
Since ownership is being transfered, we should likely mark
`Tok.getAnnotatedValue` as null to make it clear it no longer owns the pointer.
https://github.com/llvm/llvm-project/pull/177979
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits