[cfe-commits] r89037 - /cfe/trunk/include/clang/Frontend/CompilerInvocation.h

Daniel Dunbar daniel at zuster.org
Mon Nov 16 21:04:39 PST 2009


Author: ddunbar
Date: Mon Nov 16 23:04:39 2009
New Revision: 89037

URL: http://llvm.org/viewvc/llvm-project?rev=89037&view=rev
Log:
Rename CompilerInvocation::DiagOpts -> DiagnosticOpts for consistency.

Modified:
    cfe/trunk/include/clang/Frontend/CompilerInvocation.h

Modified: cfe/trunk/include/clang/Frontend/CompilerInvocation.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CompilerInvocation.h?rev=89037&r1=89036&r2=89037&view=diff

==============================================================================
--- cfe/trunk/include/clang/Frontend/CompilerInvocation.h (original)
+++ cfe/trunk/include/clang/Frontend/CompilerInvocation.h Mon Nov 16 23:04:39 2009
@@ -42,7 +42,7 @@
   DependencyOutputOptions DependencyOutputOpts;
 
   /// Options controlling the diagnostic engine.
-  DiagnosticOptions DiagOpts;
+  DiagnosticOptions DiagnosticOpts;
 
   /// Options controlling the frontend itself.
   FrontendOptions FrontendOpts;
@@ -86,8 +86,8 @@
     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 {





More information about the cfe-commits mailing list