diff options
author | Vedant Kumar <vsk@apple.com> | 2015-11-23 06:40:49 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2015-11-23 06:40:49 +0000 |
commit | a381331b6ca0d992cd6cf19958b44cfdc1f8baab (patch) | |
tree | 4d481dcd5137d9f4f61d15111bc03eaef3ae07f3 /include/clang/Driver/Compilation.h | |
parent | 6277fb58d70f6411aaa3e821ff0034991cf03c83 (diff) |
[Driver] Mark isForDiagnostics as const. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Compilation.h')
-rw-r--r-- | include/clang/Driver/Compilation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Driver/Compilation.h b/include/clang/Driver/Compilation.h index 6a93fa2bea..71f2fd066e 100644 --- a/include/clang/Driver/Compilation.h +++ b/include/clang/Driver/Compilation.h @@ -193,7 +193,7 @@ public: void initCompilationForDiagnostics(); /// Return true if we're compiling for diagnostics. - bool isForDiagnostics() { return ForDiagnostics; } + bool isForDiagnostics() const { return ForDiagnostics; } }; } // end namespace driver |