[all-commits] [llvm/llvm-project] 65bc25: [NFC] Add explicit #include llvm-config.h where it...
Daniil Fukalov via All-commits
all-commits at lists.llvm.org
Fri Sep 20 11:00:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65bc259a97cd8cc70907b65f59aff728245ba9c0
https://github.com/llvm/llvm-project/commit/65bc259a97cd8cc70907b65f59aff728245ba9c0
Author: Daniil Fukalov <dfukalov at gmail.com>
Date: 2024-09-20 (Fri, 20 Sep 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryBasicBlock.h
M lld/ELF/OutputSections.cpp
M mlir/include/mlir/Bytecode/BytecodeWriter.h
M mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
M mlir/unittests/Target/LLVM/SerializeNVVMTarget.cpp
M polly/lib/Support/RegisterPasses.cpp
Log Message:
-----------
[NFC] Add explicit #include llvm-config.h where its macros are used, last part. (#107615)
(this is the part related to bolt, lld and mlir)
Without these explicit includes, removing other headers, who implicitly
include llvm-config.h, may have non-trivial side effects. For example,
`clangd` may report even `llvm-config.h` as "no used" in case it defines
a macro, that is explicitly used with #ifdef. It is actually amplified
with different build configs which use different set of macros.
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