[Lldb-commits] [lldb] r314458 - [Expression parser] Setting to enable use of ExternalASTMerger

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 2 08:31:57 PDT 2017


On 28 September 2017 at 22:20, Sean Callanan via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
> Author: spyffe
> Date: Thu Sep 28 13:20:25 2017
> New Revision: 314458
>
> URL: http://llvm.org/viewvc/llvm-project?rev=314458&view=rev
> Log:
> [Expression parser] Setting to enable use of ExternalASTMerger
> ...
> +      lldbassert(!"No mechanism for completing a type!");

Clang 5.0.0 in FreeBSD's base system produces a warning on these
lldbasserts "implicit conversion turns string literal into bool". I'm
not aware of a nice, concise alternative idiom. This eliminates the
warning and may be the best option:

lldbassert(false && "string");

I'll switch these over if you have no objection.


More information about the lldb-commits mailing list