changeset 19:29d31faaa39e

remove TY_CbC which is unnecessary input type. cbc file should use TY_C.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 06 Oct 2013 00:43:38 +0900
parents 5abb684876c4
children a5b470e0d09d
files tools/clang/include/clang/Driver/Types.def tools/clang/lib/Driver/Types.cpp
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tools/clang/include/clang/Driver/Types.def	Sun Oct 06 00:17:31 2013 +0900
+++ b/tools/clang/include/clang/Driver/Types.def	Sun Oct 06 00:43:38 2013 +0900
@@ -51,9 +51,6 @@
 TYPE("objective-c++-cpp-output", PP_ObjCXX,    INVALID,         "mii",   "u")
 TYPE("objc++-cpp-output",        PP_ObjCXX_Alias, INVALID,      "mii",   "u")
 TYPE("objective-c++",            ObjCXX,       PP_ObjCXX,       "mm",    "u")
-#ifndef noCbC
-TYPE("cbc",                      CbC,          PP_C,            "cbc",   "u")
-#endif
 
 // C family input files to precompile.
 TYPE("c-header-cpp-output",      PP_CHeader,   INVALID,         "i",     "p")
--- a/tools/clang/lib/Driver/Types.cpp	Sun Oct 06 00:17:31 2013 +0900
+++ b/tools/clang/lib/Driver/Types.cpp	Sun Oct 06 00:43:38 2013 +0900
@@ -89,9 +89,6 @@
   case TY_ObjCXXHeader: case TY_PP_ObjCXXHeader:
   case TY_AST: case TY_ModuleFile:
   case TY_LLVM_IR: case TY_LLVM_BC:
-#ifndef noCbC
-  case TY_CbC:
-#endif
     return true;
   }
 }
@@ -169,7 +166,7 @@
            .Case("mii", TY_PP_ObjCXX)
            .Case("pcm", TY_ModuleFile)
 #ifndef noCbC
-           .Case("cbc", TY_CbC)
+           .Case("cbc", TY_C)
 #endif
            .Default(TY_INVALID);
 }