Replace assert with static_assert here applicable.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 15 May 2019 05:39:41 +0000 (05:39 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 15 May 2019 05:39:41 +0000 (05:39 +0000)
commit4c1d6ee83dd0bf1cc24d85612a017b70350d9118
tree9a48c1afa153e2635c4116aced3ddbf5f9185629
parentc18740976e53e847892ffcbc5278c4c7789a1289
Replace assert with static_assert here applicable.

Replaces assert() with static_assert() if the condition is can be
evaluated at compile time.

llvm-svn: 360753
lldb/source/Expression/IRExecutionUnit.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp