From bb9b964072eb42a09e76fe148b36eefcfff077b2 Mon Sep 17 00:00:00 2001 From: Saar Raz Date: Wed, 22 Jan 2020 04:06:51 +0200 Subject: [PATCH] [Concepts] Fix circular AST->Sema dependency in ASTConcept.cpp Remove inappropriate Sema include in ASTConcept.cpp introduced by D72552 for the finer-grained includes actually needed. --- clang/lib/AST/ASTConcept.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/lib/AST/ASTConcept.cpp b/clang/lib/AST/ASTConcept.cpp index 66d272d..c28a06b 100644 --- a/clang/lib/AST/ASTConcept.cpp +++ b/clang/lib/AST/ASTConcept.cpp @@ -14,7 +14,10 @@ #include "clang/AST/ASTConcept.h" #include "clang/AST/ASTContext.h" -#include "clang/Sema/SemaConcept.h" +#include "clang/AST/Decl.h" +#include "clang/AST/TemplateBase.h" +#include "llvm/ADT/ArrayRef.h" +#include "llvm/ADT/FoldingSet.h" using namespace clang; ASTConstraintSatisfaction::ASTConstraintSatisfaction(const ASTContext &C, -- 2.7.4