Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
---|---|---|
229–232 | All of these calls can fail, you have to check the result. |
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
---|---|---|
270 | 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 | ||
---|---|---|
270 | You should remove the braces for trivial if statement. So like this it's fine. |
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
---|---|---|
270 |
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
---|---|---|
229–232 | Sure thing |
All of these calls can fail, you have to check the result.