From 60573ae6fe509b618dc6a2c5c55d921bccd77608 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 15 Nov 2019 17:31:55 -0800 Subject: Remove Expr.h include from ASTContext.h, NFC ASTContext.h is popular, prune its includes. Expr.h brings in Attr.h, which is also expensive. Move BlockVarCopyInit to Expr.h to accomplish this. --- clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp') diff --git a/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp index 1473c05d7e3..b7b6cab0c8e 100644 --- a/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp @@ -12,6 +12,7 @@ // //===----------------------------------------------------------------------===// +#include "clang/AST/Attr.h" #include "clang/AST/ExprCXX.h" #include "clang/Driver/DriverDiagnostic.h" #include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h" -- cgit v1.2.3