Note: This patch reflects the work that can be upstreamed from PR's(merged):
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/lib/Lower/OpenMP.cpp | ||
---|---|---|
112 | Is this variable used? Would it give a warning and cause a failure in the Werror enabled bots? |
flang/lib/Lower/OpenMP.cpp | ||
---|---|---|
112 | Yes the warning comes and failure may happen. But nobody mentioned this on FIR-dev ? |
flang/lib/Lower/OpenMP.cpp | ||
---|---|---|
112 | Two out three of our buildbots have Werror enabled for Flang: As you can see one uses clang-10 and the other gcc-10. Hope this helps! |
flang/lib/Lower/OpenMP.cpp | ||
---|---|---|
112 | Thanks @awarzynski. | |
112 | I think we discussed the Werror setting when we were upstreaming Flang to LLVM. The LLVM default behaviour is not setting Werror. But Flang developers were of the opinion that it is a very useful flag to have to ensure that the codebase remains warning free and thus maintained at a high standard. So we decided to have a separate FLANG_WERROR flag which is by default OFF but switched ON in our buildbots. |
flang/lib/Lower/OpenMP.cpp | ||
---|---|---|
112 | Thanks for quick reference :). I've updated the patch(removed the unused variable). |
Is this variable used? Would it give a warning and cause a failure in the Werror enabled bots?