r374893 - [AST] Remove unused Sema includes to fix a cyclic dependency from Sema to AST

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 07:23:05 PDT 2019


Author: d0k
Date: Tue Oct 15 07:23:05 2019
New Revision: 374893

URL: http://llvm.org/viewvc/llvm-project?rev=374893&view=rev
Log:
[AST] Remove unused Sema includes to fix a cyclic dependency from Sema to AST

Modified:
    cfe/trunk/lib/AST/ExprCXX.cpp

Modified: cfe/trunk/lib/AST/ExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprCXX.cpp?rev=374893&r1=374892&r2=374893&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprCXX.cpp (original)
+++ cfe/trunk/lib/AST/ExprCXX.cpp Tue Oct 15 07:23:05 2019
@@ -28,9 +28,6 @@
 #include "clang/Basic/OperatorKinds.h"
 #include "clang/Basic/SourceLocation.h"
 #include "clang/Basic/Specifiers.h"
-#include "clang/Sema/Template.h"
-#include "clang/Sema/SemaDiagnostic.h"
-#include "clang/Sema/Sema.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/Support/Casting.h"
 #include "llvm/Support/ErrorHandling.h"
@@ -1761,4 +1758,4 @@ ConceptSpecializationExpr::Create(ASTCon
   void *Buffer = C.Allocate(totalSizeToAlloc<TemplateArgument>(
                                 NumTemplateArgs));
   return new (Buffer) ConceptSpecializationExpr(Empty, NumTemplateArgs);
-}
\ No newline at end of file
+}




More information about the cfe-commits mailing list