diff options
Diffstat (limited to 'include/clang/Frontend/CompilerInstance.h')
-rw-r--r-- | include/clang/Frontend/CompilerInstance.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Frontend/CompilerInstance.h b/include/clang/Frontend/CompilerInstance.h index 800d5be068..410129ab7a 100644 --- a/include/clang/Frontend/CompilerInstance.h +++ b/include/clang/Frontend/CompilerInstance.h @@ -474,7 +474,7 @@ public: /// and replace any existing one with it. /// /// Note that this routine also replaces the diagnostic client. - void createDiagnostics(int Argc, char **Argv); + void createDiagnostics(int Argc, const char* const *Argv); /// Create a Diagnostic object with a the TextDiagnosticPrinter. /// @@ -492,7 +492,8 @@ public: /// /// \return The new object on success, or null on failure. static llvm::IntrusiveRefCntPtr<Diagnostic> - createDiagnostics(const DiagnosticOptions &Opts, int Argc, char **Argv); + createDiagnostics(const DiagnosticOptions &Opts, int Argc, + const char* const *Argv); /// Create the file manager and replace any existing one with it. void createFileManager(); |