[clang] 019779d - Remove needless Attr.h include from DeclCXX.h, NFC
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 22 16:16:28 PST 2019
Author: Reid Kleckner
Date: 2019-11-22T16:16:10-08:00
New Revision: 019779dadfd7c98aedf0072d604ace295be6fa62
URL: https://github.com/llvm/llvm-project/commit/019779dadfd7c98aedf0072d604ace295be6fa62
DIFF: https://github.com/llvm/llvm-project/commit/019779dadfd7c98aedf0072d604ace295be6fa62.diff
LOG: Remove needless Attr.h include from DeclCXX.h, NFC
This actually has no impact on the build, because TypeLoc.h includes
Attr.h. However, DeclCXX.h has no need of it, so go ahead and remove it.
The final step in this patch series is to split Attr.h and Attrs.h.
Added:
Modified:
clang/include/clang/AST/DeclCXX.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/DeclCXX.h b/clang/include/clang/AST/DeclCXX.h
index 4960eccbd520..63d67bd3f55b 100644
--- a/clang/include/clang/AST/DeclCXX.h
+++ b/clang/include/clang/AST/DeclCXX.h
@@ -17,7 +17,6 @@
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTUnresolvedSet.h"
-#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclarationName.h"
More information about the cfe-commits
mailing list