[llvm] [DirectX] Get resource information via TargetExtType (PR #119772)

Chris B via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 14:31:18 PST 2024


================
@@ -11,19 +11,192 @@
 
 #include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/StringRef.h"
+#include "llvm/IR/GlobalVariable.h"
 #include "llvm/IR/PassManager.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/Alignment.h"
 #include "llvm/Support/DXILABI.h"
 
 namespace llvm {
 class CallInst;
+class DataLayout;
 class LLVMContext;
 class MDTuple;
+class TargetExtType;
----------------
llvm-beanz wrote:

You can't derive from a forward-declared type so you must be including the header or depending on an include ordering.

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


More information about the llvm-commits mailing list