[clang][sema] NFC, include DarwinSDKInfo header instead of using the forward reference
authorAlex Lorenz <arphaman@gmail.com>
Wed, 21 Jul 2021 19:46:11 +0000 (12:46 -0700)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 21 Jul 2021 19:46:52 +0000 (12:46 -0700)
This fixes a build issue with an older libc++ on some bots: clang-cmake-x86_64-avx2-linux and clang-ppc64be-linux

clang/include/clang/Sema/Sema.h

index c200b9b..013722c 100644 (file)
@@ -37,6 +37,7 @@
 #include "clang/AST/TypeOrdering.h"
 #include "clang/Basic/BitmaskEnum.h"
 #include "clang/Basic/Builtins.h"
+#include "clang/Basic/DarwinSDKInfo.h"
 #include "clang/Basic/ExpressionTraits.h"
 #include "clang/Basic/Module.h"
 #include "clang/Basic/OpenCLOptions.h"
@@ -115,7 +116,6 @@ namespace clang {
   class CodeCompletionTUInfo;
   class CodeCompletionResult;
   class CoroutineBodyStmt;
-  class DarwinSDKInfo;
   class Decl;
   class DeclAccessPair;
   class DeclContext;