mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:29:00 +08:00
203383666e
* [llvm] Update port to 15.0.1 The patchset is rebased onto llvmorg-15.0.1, with some significant differences especially around install paths. The NixOS project appears to be midway through a large change to the install path mechanics, for the same purpose as this patchset. When that has landed, it looks like most of these patches can go away. * [llvm] x-add-version for 15.0.1 * [llvm] Add enable-ios feature flag This passes straight through to COMPILER_RT_ENABLE_IOS, which is defaulted to ON in LLVM. This is a problem if your build host doesn't have the iOS SDK installed, such as on vcpkg CI. Co-authored-by: Josh Channings <josh@channings.me.uk>
19 lines
790 B
Diff
19 lines
790 B
Diff
diff --git a/mlir/include/mlir/IR/PatternMatch.h b/mlir/include/mlir/IR/PatternMatch.h
|
|
index 12bf196bb58e5..200eae8c3b71c 100644
|
|
--- a/mlir/include/mlir/IR/PatternMatch.h
|
|
+++ b/mlir/include/mlir/IR/PatternMatch.h
|
|
@@ -1102,10 +1097,9 @@ void assertArgs(PatternRewriter &rewriter, ArrayRef<PDLValue> values,
|
|
auto errorFn = [&](const Twine &msg) -> LogicalResult {
|
|
llvm::report_fatal_error(msg);
|
|
};
|
|
- (void)std::initializer_list<int>{
|
|
- (assert(succeeded(ProcessPDLValue<typename FnTraitsT::template arg_t<
|
|
- I + 1>>::verifyAsArg(errorFn, values[I], I))),
|
|
- 0)...};
|
|
+ assert((succeeded(ProcessPDLValue<typename FnTraitsT::template arg_t<I + 1>>::
|
|
+ verifyAsArg(errorFn, values[I], I)) &&
|
|
+ ...));
|
|
#endif
|
|
}
|
|
|