From a381331b6ca0d992cd6cf19958b44cfdc1f8baab Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Mon, 23 Nov 2015 06:40:49 +0000 Subject: [PATCH] [Driver] Mark isForDiagnostics as const. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253853 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Driver/Compilation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1