summaryrefslogtreecommitdiff
path: root/include/clang/Driver/Types.h
diff options
context:
space:
mode:
authorPawel Wodnicki <pawel@32bitmicro.com>2012-11-19 21:31:56 +0000
committerPawel Wodnicki <pawel@32bitmicro.com>2012-11-19 21:31:56 +0000
commitb595a356285f677a8ee8b513c65aa1c852f9059e (patch)
treeabea910719f3fe1e44225602c8b269250afa519f /include/clang/Driver/Types.h
parent0d7bc297f7165a7dbefdcad3b4043c275d35c13e (diff)
downloadclang-b595a356285f677a8ee8b513c65aa1c852f9059e.tar.gz
clang-b595a356285f677a8ee8b513c65aa1c852f9059e.tar.bz2
clang-b595a356285f677a8ee8b513c65aa1c852f9059e.tar.xz
Merging r168024 from trunk into 3.2 release branch
Revert r167567, restoring the ability of clang to run gcc in cases where it can't handle the input file type. This resulted in PR14338. git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Types.h')
-rw-r--r--include/clang/Driver/Types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Driver/Types.h b/include/clang/Driver/Types.h
index e6e4abc2ba..d28ca888d3 100644
--- a/include/clang/Driver/Types.h
+++ b/include/clang/Driver/Types.h
@@ -56,6 +56,9 @@ namespace types {
/// types).
bool canLipoType(ID Id);
+ /// isAcceptedByClang - Can clang handle this input type.
+ bool isAcceptedByClang(ID Id);
+
/// isCXX - Is this a "C++" input (C++ and Obj-C++ sources and headers).
bool isCXX(ID Id);