diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2022-09-28 13:30:44 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2022-09-29 11:59:52 -0500 |
commit | 63accaf46f09485447a3e2f529eebf2c795a8693 (patch) | |
tree | 0afe6403dba107a0a7efbd507aa1fdb49661edb6 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 5d4dd5357076de54d70f8621a39626b393a6e110 (diff) | |
download | llvm-63accaf46f09485447a3e2f529eebf2c795a8693.zip llvm-63accaf46f09485447a3e2f529eebf2c795a8693.tar.gz llvm-63accaf46f09485447a3e2f529eebf2c795a8693.tar.bz2 |
[NFC] Refactor DXContainer to support more parts
This patch refactors some of the DXContainer Object and YAML code to
make it easier to add more part parsing.
DXContainer has a whole bunch of constant values, so I've added a
DXContainerConstants.def file which will grow with constant
definitions, but starts with just part identifiers. I've also added a
utility to parse the part magic string into an enum, and converted the
code to use that utility and the enum instead of the part literal
string.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D133980
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions