[all-commits] [llvm/llvm-project] fec9be: [bazel][mlir] Add missing dep and include after 9b...
Jorge Gorbe Moya via All-commits
all-commits at lists.llvm.org
Fri May 16 14:14:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fec9be9f73c3a777a7649ce35f3e523f303a8f20
https://github.com/llvm/llvm-project/commit/fec9be9f73c3a777a7649ce35f3e523f303a8f20
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2025-05-16 (Fri, 16 May 2025)
Changed paths:
M mlir/include/mlir/Query/Matcher/SliceMatchers.h
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Add missing dep and include after 9b63bdd15418e90d0c6889d26e490db89ae744d1
This fixes issues when compiling SliceMatchers.h separately. In
particular, the missing include triggered a "member access into
incomplete type" error:
```
third_party/llvm/llvm-project/mlir/include/mlir/Query/Matcher/SliceMatchers.h:91:30: error: member access into incomplete type 'Operation'
91 | for (auto operand : subOp->getOperands()) {
| ^
third_party/llvm/llvm-project/mlir/include/mlir/Analysis/SliceAnalysis.h:20:7: note: forward declaration of 'mlir::Operation'
20 | class Operation;
| ^
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list