diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:46:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 23:46:19 +0000 |
commit | 4db938ceb72dbaa5f7b50f6420a72629acbf29eb (patch) | |
tree | 9ab24ea08b6055d6f1238fc041e8b0258945199c /include/clang/Driver/Types.h | |
parent | 789e220d481371d52bd6265b5c414c5fe277f76b (diff) |
Driver: Add types::{isAcceptedByClang,isCXX} predicates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Types.h')
-rw-r--r-- | include/clang/Driver/Types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Driver/Types.h b/include/clang/Driver/Types.h index 9d2313c62b..92520a77b3 100644 --- a/include/clang/Driver/Types.h +++ b/include/clang/Driver/Types.h @@ -56,6 +56,12 @@ 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); + /// lookupTypeForExtension - Lookup the type to use for the file /// extension \arg Ext. ID lookupTypeForExtension(const char *Ext); |