mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[clang][cli] Turn arcmt-* options into a single option
- The new option, -arcmt-action, is a simple enum based option. - The driver is modified to translate the existing -ccc-acmt-* options accordingly Depends on D83298 Reviewed By: Bigcheese Original patch by Daniel Grumberg. Differential Revision: https://reviews.llvm.org/D83315
This commit is contained in:
parent
dfc8211870
commit
e8d6a91523
@ -199,6 +199,9 @@ class AutoNormalizeEnum {
|
||||
code Normalizer = "normalizeSimpleEnum";
|
||||
code Denormalizer = "denormalizeSimpleEnum";
|
||||
}
|
||||
class AutoNormalizeEnumJoined : AutoNormalizeEnum {
|
||||
code Denormalizer = "denormalizeSimpleEnumJoined";
|
||||
}
|
||||
class ValueMerger<code merger> { code ValueMerger = merger; }
|
||||
class ValueExtractor<code extractor> { code ValueExtractor = extractor; }
|
||||
|
||||
|
@ -114,7 +114,7 @@ struct SimpleEnumValueTable {
|
||||
OS << ", ";
|
||||
emitScopedNormalizedValue(OS, DefaultValue);
|
||||
OS << ", ";
|
||||
emitScopedNormalizedValue(OS, NormalizerRetTy);
|
||||
OS << NormalizerRetTy;
|
||||
OS << ", ";
|
||||
OS << Normalizer;
|
||||
OS << ", ";
|
||||
|
Loading…
Reference in New Issue
Block a user