[clang] [clang-tools-extra] [Attributes][HLSL] Teach EnumArgument to refer to an external enum (PR #70835)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 10:58:52 PDT 2023


================
@@ -279,12 +279,13 @@ class DefaultIntArgument<string name, int default> : IntArgument<name, 1> {
 
 // This argument is more complex, it includes the enumerator type name,
 // a list of strings to accept, and a list of enumerators to map them to.
-class EnumArgument<string name, string type, list<string> values,
+class EnumArgument<string name, string type, bit ext, list<string> values,
----------------
AaronBallman wrote:

Should we also consider updating https://clang.llvm.org/docs/InternalsManual.html#arguments to explain this particular argument in more detail given that it's a pretty complicated argument already?

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


More information about the cfe-commits mailing list