[PATCH] D155335: Replace forward-declarations with proper headers for Decl and Stmt

Sterling Augustine via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 14 13:35:53 PDT 2023


saugustine updated this revision to Diff 540552.
saugustine added a comment.

Switch to pure revert.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155335/new/

https://reviews.llvm.org/D155335

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


Index: clang/lib/AST/Interp/Source.h
===================================================================
--- clang/lib/AST/Interp/Source.h
+++ clang/lib/AST/Interp/Source.h
@@ -14,17 +14,11 @@
 #define LLVM_CLANG_AST_INTERP_SOURCE_H
 
 #include "PrimType.h"
-#include "llvm/ADT/PointerUnion.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/Stmt.h"
 #include "llvm/Support/Endian.h"
 
 namespace clang {
-
-class Decl;
-class Stmt;
-class SourceLocation;
-class Expr;
-class SourceRange;
-
 namespace interp {
 class Function;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155335.540552.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230714/526b4f01/attachment.bin>


More information about the cfe-commits mailing list