summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-11-23 06:40:49 +0000
committerVedant Kumar <vsk@apple.com>2015-11-23 06:40:49 +0000
commit280001807b7b94d537d030cad171d326f5f480c5 (patch)
tree8d7ffb34538089ccfcfefb7e90b749402466f115
parente90daa1dac1e6c65dc6c9fe5f7f95274dc0c442e (diff)
downloadbcm5719-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.h2
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
OpenPOWER on IntegriCloud