[PATCH] D62293: [modules] Add PP callbacks for entering and leaving a submodule.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 25 11:25:46 PDT 2019
rsmith added a comment.
`PPCallbacks` seems to be missing the addition of `EnteredSubmodule` and `LeftSubmodule`; `PPChainedCallbacks` seems to be missing the addition of `LeftSubmodule`.
Generally this seems reasonable.
================
Comment at: lib/Lex/PPLexerChange.cpp:783
+ if (Callbacks)
+ Callbacks->LeftSubmodule(ForPragma);
+
----------------
Would it be useful to pass in the module (and maybe the import location) here?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62293/new/
https://reviews.llvm.org/D62293
More information about the cfe-commits
mailing list