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.
1 parent 2cdc5ea commit 5aef684Copy full SHA for 5aef684
clang/include/clang/Frontend/CompilerInvocation.h
@@ -188,12 +188,13 @@ class CompilerInvocationBase {
188
/// This is a (less-efficient) wrapper over generateCC1CommandLine().
189
std::vector<std::string> getCC1CommandLine() const;
190
191
-private:
+protected:
192
/// Visits paths stored in the invocation. This is generally unsafe to call
193
/// directly, and each sub-class need to ensure calling this doesn't violate
194
/// its invariants.
195
void visitPathsImpl(llvm::function_ref<bool(std::string &)> Predicate);
196
197
+private:
198
/// Generate command line options from DiagnosticOptions.
199
static void GenerateDiagnosticArgs(const DiagnosticOptions &Opts,
200
ArgumentConsumer Consumer,
0 commit comments