We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::function
1 parent 42b2325 commit 24a92f5Copy full SHA for 24a92f5
clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
@@ -15,6 +15,7 @@
15
#include "clang/Tooling/JSONCompilationDatabase.h"
16
#include "llvm/ADT/DenseSet.h"
17
#include "llvm/ADT/MapVector.h"
18
+#include <functional>
19
#include <optional>
20
#include <string>
21
#include <vector>
@@ -25,7 +26,7 @@ namespace dependencies {
25
26
27
/// A callback to lookup module outputs for "-fmodule-file=", "-o" etc.
28
using LookupModuleOutputCallback =
- llvm::function_ref<std::string(const ModuleID &, ModuleOutputKind)>;
29
+ std::function<std::string(const ModuleID &, ModuleOutputKind)>;
30
31
/// Graph of modular dependencies.
32
using ModuleDepsGraph = std::vector<ModuleDeps>;
0 commit comments