[all-commits] [llvm/llvm-project] 56ab48: [lldb/Scripting] Simplify code by removing the #if.
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Dec 18 16:48:22 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 56ab485a311d065f9417e0cff903e1f33495f4cc
https://github.com/llvm/llvm-project/commit/56ab485a311d065f9417e0cff903e1f33495f4cc
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M lldb/source/Interpreter/CommandObjectScript.cpp
Log Message:
-----------
[lldb/Scripting] Simplify code by removing the #if.
The "none" script interpreter does not depend on Python so it doesn't
make sense to have it withing the if-block. The only goal seems to be to
have a slightly different error for when there's no script interpreter,
but as per the comment this doesn't make sense for more than one
scripting language. I think the existing error is perfectly clear, so I
just removed this altogether.
More information about the All-commits
mailing list