Skip to content

Commit 5aef684

Browse files
committed
Private -> protected
1 parent 2cdc5ea commit 5aef684

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/include/clang/Frontend/CompilerInvocation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,13 @@ class CompilerInvocationBase {
188188
/// This is a (less-efficient) wrapper over generateCC1CommandLine().
189189
std::vector<std::string> getCC1CommandLine() const;
190190

191-
private:
191+
protected:
192192
/// Visits paths stored in the invocation. This is generally unsafe to call
193193
/// directly, and each sub-class need to ensure calling this doesn't violate
194194
/// its invariants.
195195
void visitPathsImpl(llvm::function_ref<bool(std::string &)> Predicate);
196196

197+
private:
197198
/// Generate command line options from DiagnosticOptions.
198199
static void GenerateDiagnosticArgs(const DiagnosticOptions &Opts,
199200
ArgumentConsumer Consumer,

0 commit comments

Comments
 (0)