[Lldb-commits] [clang] [lldb] [lldb] Re-use clang's keyword enable/disable mechanism in CPlusPlusNameParser.cpp (PR #164284)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 28 02:48:36 PDT 2025
================
----------------
Michael137 wrote:
It's a bit unfortunate we have to reconstruct this `StringMap` every time. Do you have an intuition for how expensive that is?
Why can't we construct the map statically? The `LangOptions` never change right? So you could just wrap all of this new logic in an immediately-invoked-lambda and still make the `g_map` static. Wdyt?
https://github.com/llvm/llvm-project/pull/164284
More information about the lldb-commits
mailing list