From: Daniel Dunbar Date: Tue, 17 Nov 2009 05:04:39 +0000 (+0000) Subject: Rename CompilerInvocation::DiagOpts -> DiagnosticOpts for consistency. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35ffe2fc57bcf040f652fba70e8f3ff3fcf95115;p=clang Rename CompilerInvocation::DiagOpts -> DiagnosticOpts for consistency. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89037 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Frontend/CompilerInvocation.h b/include/clang/Frontend/CompilerInvocation.h index 0cdb32b006..33234ec898 100644 --- a/include/clang/Frontend/CompilerInvocation.h +++ b/include/clang/Frontend/CompilerInvocation.h @@ -42,7 +42,7 @@ class CompilerInvocation { DependencyOutputOptions DependencyOutputOpts; /// Options controlling the diagnostic engine. - DiagnosticOptions DiagOpts; + DiagnosticOptions DiagnosticOpts; /// Options controlling the frontend itself. FrontendOptions FrontendOpts; @@ -86,8 +86,8 @@ public: return DependencyOutputOpts; } - DiagnosticOptions &getDiagnosticOpts() { return DiagOpts; } - const DiagnosticOptions &getDiagnosticOpts() const { return DiagOpts; } + DiagnosticOptions &getDiagnosticOpts() { return DiagnosticOpts; } + const DiagnosticOptions &getDiagnosticOpts() const { return DiagnosticOpts; } HeaderSearchOptions &getHeaderSearchOpts() { return HeaderSearchOpts; } const HeaderSearchOptions &getHeaderSearchOpts() const {