aboutsummaryrefslogtreecommitdiff
path: root/tools/ccc/ccclib/Types.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-11 23:07:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-11 23:07:54 +0000
commit105e9d75d99b3b62a6f75ff29a0e2b821e4dad68 (patch)
tree5a635f1222b70110b248638595f2aa6d50156d17 /tools/ccc/ccclib/Types.py
parent5f8d1dbcd0c4368c70b8528252d093aa69f11879 (diff)
ccc: -x assembler-with-cpp was broken for darwin, and it wasn't using
clang as the preprocessor even when it should. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Types.py')
-rw-r--r--tools/ccc/ccclib/Types.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/tools/ccc/ccclib/Types.py b/tools/ccc/ccclib/Types.py
index 94c00410da..77e7907fae 100644
--- a/tools/ccc/ccclib/Types.py
+++ b/tools/ccc/ccclib/Types.py
@@ -148,14 +148,15 @@ kTypeSpecifierMap = {
}
# Set of C family types.
-cTypesSet = set([CType, CTypeNoPP,
- ObjCType, ObjCTypeNoPP,
- CXXType, CXXTypeNoPP,
- ObjCXXType, ObjCXXTypeNoPP,
- CHeaderType, CHeaderNoPPType,
- ObjCHeaderType, ObjCHeaderNoPPType,
- CXXHeaderType, CXXHeaderNoPPType,
- ObjCXXHeaderType, ObjCXXHeaderNoPPType])
+clangableTypesSet = set([AsmType, # Assembler to preprocess
+ CType, CTypeNoPP,
+ ObjCType, ObjCTypeNoPP,
+ CXXType, CXXTypeNoPP,
+ ObjCXXType, ObjCXXTypeNoPP,
+ CHeaderType, CHeaderNoPPType,
+ ObjCHeaderType, ObjCHeaderNoPPType,
+ CXXHeaderType, CXXHeaderNoPPType,
+ ObjCXXHeaderType, ObjCXXHeaderNoPPType])
# Set of C++ family types.
cxxTypesSet = set([CXXType, CXXTypeNoPP,