[cfe-commits] r89039 - /cfe/trunk/tools/clang-cc/Options.cpp
Daniel Dunbar
daniel at zuster.org
Mon Nov 16 21:04:57 PST 2009
Author: ddunbar
Date: Mon Nov 16 23:04:57 2009
New Revision: 89039
URL: http://llvm.org/viewvc/llvm-project?rev=89039&view=rev
Log:
Remove unused NoPreprocess variable.
Modified:
cfe/trunk/tools/clang-cc/Options.cpp
Modified: cfe/trunk/tools/clang-cc/Options.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/Options.cpp?rev=89039&r1=89038&r2=89039&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/Options.cpp (original)
+++ cfe/trunk/tools/clang-cc/Options.cpp Mon Nov 16 23:04:57 2009
@@ -1073,7 +1073,6 @@
TargetInfo &Target) {
using namespace langoptions;
- bool NoPreprocess = false;
switch (IK) {
case FrontendOptions::IK_None:
@@ -1083,25 +1082,21 @@
Options.AsmPreprocessor = 1;
// FALLTHROUGH
case FrontendOptions::IK_PreprocessedC:
- NoPreprocess = true;
// FALLTHROUGH
case FrontendOptions::IK_C:
// Do nothing.
break;
case FrontendOptions::IK_PreprocessedCXX:
- NoPreprocess = true;
// FALLTHROUGH
case FrontendOptions::IK_CXX:
Options.CPlusPlus = 1;
break;
case FrontendOptions::IK_PreprocessedObjC:
- NoPreprocess = true;
// FALLTHROUGH
case FrontendOptions::IK_ObjC:
Options.ObjC1 = Options.ObjC2 = 1;
break;
case FrontendOptions::IK_PreprocessedObjCXX:
- NoPreprocess = true;
// FALLTHROUGH
case FrontendOptions::IK_ObjCXX:
Options.ObjC1 = Options.ObjC2 = 1;
More information about the cfe-commits
mailing list