[all-commits] [llvm/llvm-project] 49157f: [mlir][NFC] Fix compilation error downstream when ...
zero9178 via All-commits
all-commits at lists.llvm.org
Thu Aug 25 10:55:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49157fd468521ee482d3f5a0ae1586f9d7c8a550
https://github.com/llvm/llvm-project/commit/49157fd468521ee482d3f5a0ae1586f9d7c8a550
Author: Markus Böck <markus.boeck02 at gmail.com>
Date: 2022-08-25 (Thu, 25 Aug 2022)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
Log Message:
-----------
[mlir][NFC] Fix compilation error downstream when `NDEBUG` is defined
If the LLVM build used was compiled with `LLVM_ENABLE_ABI_BREAKING_CHECKS` but the header was included with `NDEBUG` defined, a compilation error would occur as there is a pack expansion operator (`...`), but no variadic arguments existed. This was due to the assert being preprocessed to an empty expression.
This commit moves the pack expansion within the `assert` to also be removed with the `assert`.
More information about the All-commits
mailing list