[cfe-commits] r97951 - /cfe/trunk/tools/driver/driver.cpp
Kovarththanan Rajaratnam
kovarththanan.rajaratnam at gmail.com
Mon Mar 8 10:33:04 PST 2010
Author: krj
Date: Mon Mar 8 12:33:04 2010
New Revision: 97951
URL: http://llvm.org/viewvc/llvm-project?rev=97951&view=rev
Log:
Mark variable as const
Modified:
cfe/trunk/tools/driver/driver.cpp
Modified: cfe/trunk/tools/driver/driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=97951&r1=97950&r2=97951&view=diff
==============================================================================
--- cfe/trunk/tools/driver/driver.cpp (original)
+++ cfe/trunk/tools/driver/driver.cpp Mon Mar 8 12:33:04 2010
@@ -194,9 +194,9 @@
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(),
More information about the cfe-commits
mailing list