[clang] [clang][MBD] set up module build daemon infrastructure (PR #67562)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 30 08:08:46 PDT 2023


================
@@ -0,0 +1,41 @@
+//===------------------------------ Client.h ------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_TOOLING_MODULEBUILDDAEMON_CLIENT_H
+#define LLVM_CLANG_TOOLING_MODULEBUILDDAEMON_CLIENT_H
+
+#include "clang/Frontend/CompilerInstance.h"
+#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/YAMLParser.h"
+#include "llvm/Support/YAMLTraits.h"
+
+using namespace clang;
+using namespace llvm;
----------------
tschuett wrote:

Please don't do this in headers. Every user will suffer from it.

https://github.com/llvm/llvm-project/pull/67562


More information about the cfe-commits mailing list