From 240c734ee5a57000fdb870109e50102317b2cc3d Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Mon, 8 Mar 2010 18:33:04 +0000 Subject: [PATCH] Mark variable as const git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97951 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/driver/driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp index fa0f0c2ded..46f4124031 100644 --- a/tools/driver/driver.cpp +++ b/tools/driver/driver.cpp @@ -194,9 +194,9 @@ int main(int argc, const char **argv) { Diagnostic Diags(&DiagClient); #ifdef CLANG_IS_PRODUCTION - bool IsProduction = true; + const bool IsProduction = true; #else - bool IsProduction = false; + const bool IsProduction = false; #endif Driver TheDriver(Path.getBasename(), Path.getDirname(), llvm::sys::getHostTriple(), -- 2.40.0