[clang] [WIP] Implement `-dump-deserialized-declaration-ranges` flag. (PR #133910)

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 07:26:12 PDT 2025


================
@@ -139,16 +283,17 @@ FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
     return nullptr;
 
   // If there are no registered plugins we don't need to wrap the consumer
-  if (FrontendPluginRegistry::begin() == FrontendPluginRegistry::end())
-    return Consumer;
+  if (FrontendPluginRegistry::begin() == FrontendPluginRegistry::end()) {
----------------
ilya-biryukov wrote:

Also, we still don't want to create a `MultiplexConsumer` if our flag wasn't specified, right?
So I think we need to update this code anyhow.

https://github.com/llvm/llvm-project/pull/133910


More information about the cfe-commits mailing list