[clang] Reland [Clang][Cmake] fix libtool duplicate member name warnings (PR #133850)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 2 14:48:02 PDT 2025
farzonl wrote:
> I don't really get why that problem is specific to DirectX though. All of these make use of CodeGen, right?
@nikic I see what you are asking. you want more specific on the error not that the error happened.
because of this:
https://github.com/llvm/llvm-project/blob/42b3f91fd6c850492f6f899d6a0f12ccb948aa1a/clang/lib/CodeGen/Targets/DirectX.cpp#L79-L80
`clang::CodeGen::HLSLBufferLayoutBuilder::createLayoutType(clang::RecordType const*, llvm::SmallVector<int, 12u> const*)` which is used by DirectXTargetCodeGenInfo::getHLSLType is defined here `clang/lib/CodeGen/HLSLBufferLayoutBuilder.cpp`.
I could potentially try to move `HLSLBufferLayoutBuilder` to Targets directory and see if that fixes things.
If that works I'll ask @bogner if its ok to move.
https://github.com/llvm/llvm-project/pull/133850
More information about the cfe-commits
mailing list