Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibC: Replace use of do/while in assert() with the ternary operator
It's a single expression, no do/while needed. This makes assert() work with the comma operator (assert(foo), assert(bar), assert(baz)). Found because exactly this is being used somewhere in the guts of LLVM.
- Loading branch information