[clang] 73371fa - [clang][Interp][NFC] Remove unused includes

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 04:38:02 PDT 2023


Author: Timm Bäder
Date: 2023-09-15T13:37:35+02:00
New Revision: 73371faf05887fbe84916456b7c200b07978e7b5

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

LOG: [clang][Interp][NFC] Remove unused includes

Added: 
    

Modified: 
    clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    clang/lib/AST/Interp/ByteCodeStmtGen.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/ByteCodeStmtGen.cpp b/clang/lib/AST/Interp/ByteCodeStmtGen.cpp
index b7553d8963ff0ee..5beb5c3d22b4f64 100644
--- a/clang/lib/AST/Interp/ByteCodeStmtGen.cpp
+++ b/clang/lib/AST/Interp/ByteCodeStmtGen.cpp
@@ -12,9 +12,6 @@
 #include "Context.h"
 #include "Function.h"
 #include "PrimType.h"
-#include "Program.h"
-#include "State.h"
-#include "clang/Basic/LLVM.h"
 
 using namespace clang;
 using namespace clang::interp;

diff  --git a/clang/lib/AST/Interp/ByteCodeStmtGen.h b/clang/lib/AST/Interp/ByteCodeStmtGen.h
index 278e804a803c951..5d48c0d27d245eb 100644
--- a/clang/lib/AST/Interp/ByteCodeStmtGen.h
+++ b/clang/lib/AST/Interp/ByteCodeStmtGen.h
@@ -16,11 +16,7 @@
 #include "ByteCodeEmitter.h"
 #include "ByteCodeExprGen.h"
 #include "EvalEmitter.h"
-#include "Pointer.h"
 #include "PrimType.h"
-#include "Record.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/Expr.h"
 #include "clang/AST/StmtVisitor.h"
 
 namespace clang {


        


More information about the cfe-commits mailing list