[clang] [HLSL] add IsLineVectorLayoutCompatible type trait (PR #113730)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 30 11:11:40 PDT 2024


https://github.com/hekota requested changes to this pull request.

If you are going to store `isHLSLLineVectorLayoutCompatibleType` on a declaration you need to modify addMember to analyze newly added members. Then move the IsLineVectorLayoutCompatibleType implementation from SemaHLSL to Type and use the bit on the record type decl instead of building flattened type list.

https://github.com/llvm/llvm-project/pull/113730


More information about the cfe-commits mailing list