From: Kovarththanan Rajaratnam Date: Mon, 8 Mar 2010 18:33:04 +0000 (+0000) Subject: Mark variable as const X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=240c734ee5a57000fdb870109e50102317b2cc3d;p=clang Mark variable as const git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97951 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(),