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 | 280001807b7b94d537d030cad171d326f5f480c5 (patch) | |
| tree | 8d7ffb34538089ccfcfefb7e90b749402466f115 | |
| parent | e90daa1dac1e6c65dc6c9fe5f7f95274dc0c442e (diff) | |
| download | bcm5719-llvm-280001807b7b94d537d030cad171d326f5f480c5.tar.gz bcm5719-llvm-280001807b7b94d537d030cad171d326f5f480c5.zip | |
[Driver] Mark isForDiagnostics as const. NFC.
llvm-svn: 253853
| -rw-r--r-- | clang/include/clang/Driver/Compilation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Driver/Compilation.h b/clang/include/clang/Driver/Compilation.h index 6a93fa2beac..71f2fd066e2 100644 --- a/clang/include/clang/Driver/Compilation.h +++ b/clang/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 |

