Lines Matching defs:TU
99 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) {
102 if (TU && !T.isNull()) {
103 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext();
117 CXType CT = { TK, { TK == CXType_Invalid ? 0 : T.getAsOpaquePtr(), TU }};
136 CXTranslationUnit TU = cxcursor::getCursorTU(C);
137 if (!TU)
138 return MakeCXType(QualType(), TU);
140 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext();
143 return MakeCXType(T, TU);
149 return MakeCXType(QualType(), TU);
152 return MakeCXType(Context.getTypeDeclType(TD), TU);
154 return MakeCXType(Context.getObjCInterfaceType(ID), TU);
157 return MakeCXType(TSInfo->getType(), TU);
158 return MakeCXType(DD->getType(), TU);
161 return MakeCXType(VD->getType(), TU);
163 return MakeCXType(PD->getType(), TU);
166 return MakeCXType(TSInfo->getType(), TU);
167 return MakeCXType(FTD->getTemplatedDecl()->getType(), TU);
169 return MakeCXType(QualType(), TU);
177 return MakeCXType(T, TU);
182 return MakeCXType(T, TU);
187 return MakeCXType(T, TU);
192 return cxtype::MakeCXType(getCursorCXXBaseSpecifier(C)->getType(), TU);
195 return cxtype::MakeCXType(getCursorMemberRef(C).first->getType(), TU);
198 return cxtype::MakeCXType(getCursorVariableRef(C).first->getType(), TU);
208 return MakeCXType(QualType(), TU);
211 return MakeCXType(QualType(), TU);
219 CXTranslationUnit TU = GetTU(CT);
222 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts());
231 CXTranslationUnit TU = cxcursor::getCursorTU(C);
238 return MakeCXType(T, TU);
241 return MakeCXType(QualType(), TU);
244 return MakeCXType(QualType(), TU);
249 CXTranslationUnit TU = cxcursor::getCursorTU(C);
256 return MakeCXType(T, TU);
259 return MakeCXType(QualType(), TU);
262 return MakeCXType(QualType(), TU);
317 CXTranslationUnit TU = GetTU(CT);
322 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext()
324 TU);
584 CXTranslationUnit TU = GetTU(X);
586 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0;