[all-commits] [llvm/llvm-project] 5f88f3: [lldb] Enable C++14 when evaluating expressions in...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri May 22 02:43:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f88f39ab8154682c3b1eb9d7050a9412a55d9e7
      https://github.com/llvm/llvm-project/commit/5f88f39ab8154682c3b1eb9d7050a9412a55d9e7
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    A lldb/test/API/lang/cpp/standards/cpp11/Makefile
    A lldb/test/API/lang/cpp/standards/cpp11/TestCPP11Standard.py
    A lldb/test/API/lang/cpp/standards/cpp11/main.cpp
    A lldb/test/API/lang/cpp/standards/cpp14/Makefile
    A lldb/test/API/lang/cpp/standards/cpp14/TestCPP14Standard.py
    A lldb/test/API/lang/cpp/standards/cpp14/main.cpp

  Log Message:
  -----------
  [lldb] Enable C++14 when evaluating expressions in a C++14 frame

Summary:
Currently we never enable C++14 in the expression evaluator. This enables it when the language of the program is C++14.

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.

Reviewers: labath, JDevlieghere

Reviewed By: labath, JDevlieghere

Subscribers: aprantl

Differential Revision: https://reviews.llvm.org/D80308




More information about the All-commits mailing list