Author: Nikita Popov Date: 2025-07-30T12:18:38+02:00 New Revision: 984ec022360805c308c105dccb594be218d57243
URL: https://github.com/llvm/llvm-project/commit/984ec022360805c308c105dccb594be218d57243 DIFF: https://github.com/llvm/llvm-project/commit/984ec022360805c308c105dccb594be218d57243.diff LOG: [Clang] Replace include with forward declaration (NFC) (#151292) After https://github.com/llvm/llvm-project/pull/142541. Added: Modified: clang/include/clang/AST/Expr.h Removed: ################################################################################ diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 708c6e2925fd0..6c124aa96cdb4 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -16,7 +16,6 @@ #include "clang/AST/APNumericStorage.h" #include "clang/AST/APValue.h" #include "clang/AST/ASTVector.h" -#include "clang/AST/Attr.h" #include "clang/AST/ComputeDependence.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclAccessPair.h" @@ -58,6 +57,7 @@ namespace clang { class StringLiteral; class TargetInfo; class ValueDecl; + class WarnUnusedResultAttr; /// A simple array of base specifiers. typedef SmallVector<CXXBaseSpecifier*, 4> CXXCastPath; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits