[clang] 245d10b - [clang][Interp][NFC] Trim Source.h includes

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 13 04:26:23 PDT 2023


Author: Timm Bäder
Date: 2023-07-13T13:26:03+02:00
New Revision: 245d10b7a2c12ec25e7b5860a38c61991543a739

URL: https://github.com/llvm/llvm-project/commit/245d10b7a2c12ec25e7b5860a38c61991543a739
DIFF: https://github.com/llvm/llvm-project/commit/245d10b7a2c12ec25e7b5860a38c61991543a739.diff

LOG: [clang][Interp][NFC] Trim Source.h includes

Added: 
    

Modified: 
    clang/lib/AST/Interp/Source.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/Source.h b/clang/lib/AST/Interp/Source.h
index a836eb09db7f86..3ca6dfd06402ac 100644
--- a/clang/lib/AST/Interp/Source.h
+++ b/clang/lib/AST/Interp/Source.h
@@ -14,11 +14,17 @@
 #define LLVM_CLANG_AST_INTERP_SOURCE_H
 
 #include "PrimType.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/Stmt.h"
+#include "llvm/ADT/PointerUnion.h"
 #include "llvm/Support/Endian.h"
 
 namespace clang {
+
+class Decl;
+class Stmt;
+class SourceLocation;
+class Expr;
+class SourceRange;
+
 namespace interp {
 class Function;
 


        


More information about the cfe-commits mailing list