[clang] [clang][DependencyScanning] Implementing a Streaming Style API for By-name Scanning (PR #206800)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 13:51:41 PDT 2026


================
@@ -0,0 +1,100 @@
+//===----------------------------------------------------------------------===//
+//
+// 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_DEPENDENCYSCANNING_COMPILERINSTANCEWITHCONTEXT_H
+#define LLVM_CLANG_DEPENDENCYSCANNING_COMPILERINSTANCEWITHCONTEXT_H
+
+#include "clang/DependencyScanning/DependencyScanningWorker.h"
+
+namespace clang {
+namespace dependencies {
+class CompilerInstanceWithContext {
----------------
jansvoboda11 wrote:

Does this need to live in the public header of the library? IIUC we could put this into `DependencyScanningWorker.cpp`, since it should be an implementation detail.

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


More information about the cfe-commits mailing list