Index: include/clang-c/Index.h
===================================================================
--- include/clang-c/Index.h	(revision 124828)
+++ include/clang-c/Index.h	(working copy)
@@ -1838,6 +1838,12 @@
 CINDEX_LINKAGE unsigned clang_isPODType(CXType T);
 
 /**
+ * \brief Return 1 if the CXType is a dependent type, and 0
+ *  otherwise.
+ */
+CINDEX_LINKAGE unsigned clang_isDependentType(CXType T);
+
+/**
  * \brief Returns 1 if the base class specified by the cursor with kind
  *   CX_CXXBaseSpecifier is virtual.
  */
Index: tools/libclang/CXType.cpp
===================================================================
--- tools/libclang/CXType.cpp	(revision 124828)
+++ tools/libclang/CXType.cpp	(working copy)
@@ -369,6 +369,11 @@
   return T->isPODType() ? 1 : 0;
 }
 
+unsigned clang_isDependentType(CXType X) {
+  QualType T = GetQualType(X);
+  return T->isDependentType();
+}
+
 CXString clang_getDeclObjCTypeEncoding(CXCursor C) {
   if ((C.kind < CXCursor_FirstDecl) || (C.kind > CXCursor_LastDecl))
     return cxstring::createCXString("");
Index: tools/libclang/libclang.darwin.exports
===================================================================
--- tools/libclang/libclang.darwin.exports	(revision 124828)
+++ tools/libclang/libclang.darwin.exports	(working copy)
@@ -111,6 +111,7 @@
 _clang_isCursorDefinition
 _clang_isConstQualifiedType
 _clang_isDeclaration
+_clang_isDependentType
 _clang_isExpression
 _clang_isInvalid
 _clang_isPODType
Index: tools/libclang/libclang.exports
===================================================================
--- tools/libclang/libclang.exports	(revision 124828)
+++ tools/libclang/libclang.exports	(working copy)
@@ -111,6 +111,7 @@
 clang_isConstQualifiedType
 clang_isCursorDefinition
 clang_isDeclaration
+clang_isDependentType
 clang_isExpression
 clang_isInvalid
 clang_isPODType
