aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorFinn Plummer <finn.c.plum@gmail.com>2025-06-16 11:45:19 -0700
committerGitHub <noreply@github.com>2025-06-16 11:45:19 -0700
commit63b80dd01dafc92104ee43e4f0f5296d644c25ec (patch)
treea6afcbd1d96670a292f0f8a9e7195419963d8701 /clang/lib/CodeGen/ModuleBuilder.cpp
parent8ed43c47dec36bc38bbae4c6f024cdb824555a76 (diff)
downloadllvm-63b80dd01dafc92104ee43e4f0f5296d644c25ec.zip
llvm-63b80dd01dafc92104ee43e4f0f5296d644c25ec.tar.gz
llvm-63b80dd01dafc92104ee43e4f0f5296d644c25ec.tar.bz2
[NFC][RootSignature] Use `llvm::EnumEntry` for serialization of Root Signature Elements (#144106)
It has pointed out [here](https://github.com/llvm/llvm-project/pull/143198#discussion_r2132877388) that we may be able to use `llvm::EnumEntry` so that we can re-use the printing logic across enumerations. - Enables re-use of `printEnum` and `printFlags` methods via templates - Allows easy definition of `getEnumName` function for enum-to-string conversion, eliminating the need to use a string stream for constructing the Name SmallString - Also, does a small fix-up of the operands for descriptor table clause to be consistent with other `Build*` methods For reference, the [test-cases](https://github.com/llvm/llvm-project/blob/main/llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp) that must not change expected output.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions