aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CompilerInvocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Frontend/CompilerInvocation.h')
-rw-r--r--include/clang/Frontend/CompilerInvocation.h6
1 files changed, 3 insertions, 3 deletions
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 {