Apply API changes to migrate to CLANG upstream.
Change-Id: I376a8a24c238c4e27d37c4f846b93e2f6e38d79c
diff --git a/slang_rs_export_element.cpp b/slang_rs_export_element.cpp
index 2d83652..842e92e 100644
--- a/slang_rs_export_element.cpp
+++ b/slang_rs_export_element.cpp
@@ -139,7 +139,7 @@
break;
} else {
const clang::TypedefType *TT = static_cast<const clang::TypedefType*>(T);
- const clang::TypedefDecl *TD = TT->getDecl();
+ const clang::TypedefNameDecl *TD = TT->getDecl();
EI = GetElementInfo(TD->getName());
if (EI != NULL)
break;