Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 231 | All of these calls can fail, you have to check the result. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 263 | I can't recall, but I saw somewhere(may LLVM coding style). Not to uses braces for if if there is only one executable statement. Don't have a strong opinion on this, but it would be better if someone can clarify which style to follow. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 263 | You should remove the braces for trivial if statement. So like this it's fine. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 263 | ||
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 231 | Sure thing | |
All of these calls can fail, you have to check the result.