@@ -74,6 +74,16 @@ class DependencyScanningWorker {
74
74
public:
75
75
DependencyScanningWorker (DependencyScanningService &Service);
76
76
77
+ // / Run the dependency scanning tool for a given clang driver invocation, and
78
+ // / report the discovered dependencies to the provided consumer.
79
+ // /
80
+ // / \returns A \c StringError with the diagnostic output if clang errors
81
+ // / occurred, success otherwise.
82
+ llvm::Error
83
+ computeDependenciesForClangInvocation (StringRef WorkingDirectory,
84
+ ArrayRef<std::string> Arguments,
85
+ DependencyConsumer &Consumer);
86
+
77
87
// / Run the dependency scanning tool for a given clang driver invocation (as
78
88
// / specified for the given Input in the CDB), and report the discovered
79
89
// / dependencies to the provided consumer.
@@ -85,16 +95,6 @@ class DependencyScanningWorker {
85
95
const CompilationDatabase &CDB,
86
96
DependencyConsumer &Consumer);
87
97
88
- // / Run the dependency scanning tool for a given clang driver invocation, and
89
- // / report the discovered dependencies to the provided consumer.
90
- // /
91
- // / \returns A \c StringError with the diagnostic output if clang errors
92
- // / occurred, success otherwise.
93
- llvm::Error
94
- computeDependenciesForClangInvocation (StringRef WorkingDirectory,
95
- ArrayRef<std::string> Arguments,
96
- DependencyConsumer &Consumer);
97
-
98
98
ScanningOutputFormat getFormat () const { return Format; }
99
99
100
100
llvm::StringSet<> AlreadySeen;
0 commit comments