]> granicus.if.org Git - clang/commitdiff
[Driver] Mark isForDiagnostics as const. NFC.
authorVedant Kumar <vsk@apple.com>
Mon, 23 Nov 2015 06:40:49 +0000 (06:40 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 23 Nov 2015 06:40:49 +0000 (06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253853 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Compilation.h

index 6a93fa2beac22bcaf0ef5b4e31c7c0da2ac5418d..71f2fd066e227769b9352f4e178dd13f4e9b6de6 100644 (file)
@@ -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