[clang] cc69662 - [clang][Interp][NFC] Remove unneeded Source.h includes

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 07:47:04 PDT 2023


Author: Timm Bäder
Date: 2023-09-29T16:46:52+02:00
New Revision: cc696627657c422f8d580354a76d32fda0f0157f

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

LOG: [clang][Interp][NFC] Remove unneeded 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 a93b103b3f9012d..e97e897e72394d5 100644
--- a/clang/lib/AST/Interp/Source.h
+++ b/clang/lib/AST/Interp/Source.h
@@ -14,11 +14,15 @@
 #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 Stmt;
+class Decl;
+class Expr;
+class SourceLocation;
+class SourceRange;
 namespace interp {
 class Function;
 


        


More information about the cfe-commits mailing list