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

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 10:47:13 PDT 2023


================
@@ -19,11 +19,12 @@
 #include "clang/AST/Type.h"
 #include "clang/Basic/AttrKinds.h"
 #include "clang/Basic/AttributeCommonInfo.h"
-#include "clang/Basic/LangOptions.h"
 #include "clang/Basic/LLVM.h"
+#include "clang/Basic/LangOptions.h"
 #include "clang/Basic/OpenMPKinds.h"
 #include "clang/Basic/Sanitizers.h"
 #include "clang/Basic/SourceLocation.h"
+#include "llvm/Frontend/HLSL/HLSLResource.h"
----------------
bogner wrote:

This is to make `llvm::hlsl::ResourceClass` and `llvm::hlsl::ResourceKind` visible for the `#include "clang/AST/Attrs.inc"` later in the file.

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


More information about the cfe-commits mailing list