[all-commits] [llvm/llvm-project] 8406f8: [mlir][cmake] Enable -Wundef. (#84011)
Ingo Müller via All-commits
all-commits at lists.llvm.org
Wed Mar 6 05:15:29 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8406f8023dc08a1697acd2375e120670c0233a8a
https://github.com/llvm/llvm-project/commit/8406f8023dc08a1697acd2375e120670c0233a8a
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M mlir/CMakeLists.txt
M mlir/include/mlir/Config/mlir-config.h.cmake
Log Message:
-----------
[mlir][cmake] Enable -Wundef. (#84011)
This is another follow-up of #83004, which fixed a bug due to some
macros not being defined in some situations. By raising warnings on
undefined macros, this kind of bug is less likely to be introduced.
Similar to #83004, the fix is probably adding an include to
`mlir-config.h` (and potentially defining the macro there).
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