[Lldb-commits] [PATCH] D80308: [lldb] Enable C++14 when evaluating expressions in a C++14 frame
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 22 15:02:16 PDT 2020
shafik added a comment.
In D80308#2051624 <https://reviews.llvm.org/D80308#2051624>, @aprantl wrote:
> > It seems C++17 and so on isn't yet in any of the language enums (and the DWARF standard it seems), so C++17 support will be a follow up patch.
> Yes and that may point to a problem with this approach. IIRC, there is — on purpose — no C++17 language constant because the committee didn't see the need to differentiate it in DWARF, since all features were additive and could be described through specific C++17-related attributes.
That is also problematic b/c you can still compile in C++17 mode but not use any C++17 specific constructs and yet expect LLDB to act as-if.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits