[Lldb-commits] [PATCH] D51604: Terminate debugger if an assert was hit

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 4 05:56:40 PDT 2018


JDevlieghere added inline comments.


================
Comment at: source/Utility/LLDBAssert.cpp:23
   if (expression)
     ;
   else {
----------------
I guess while we're at it we can turn this into an early return and use LLVM_LIKELY?

```
if (LLVM_LIKELY(expression))
    return;
```


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51604





More information about the lldb-commits mailing list