[clang] [WIP] Implement `-dump-deserialized-declaration-ranges` flag. (PR #133910)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 4 06:16:27 PDT 2025
================
@@ -121,6 +267,26 @@ FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
if (!Consumer)
return nullptr;
+ std::vector<std::unique_ptr<ASTConsumer>> Consumers;
----------------
ilya-biryukov wrote:
NIT: `llvm::SmallVector<unique_ptr<...>, 1> Consumers` is a good choice here since we have 1 consumer most of the time.
https://github.com/llvm/llvm-project/pull/133910
More information about the cfe-commits
mailing list