Lines Matching defs:TU
43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) {
44 if (!TU)
46 return TU->TheASTUnit;
53 static inline bool isNotUsableTU(CXTranslationUnit TU) {
54 return !TU;
57 #define LOG_BAD_TU(TU) \
60 *Log << "called with a bad TU: " << TU; \
65 CXTranslationUnitImpl *TU;
68 CXTUOwner(CXTranslationUnitImpl *tu) : TU(tu) { }
71 CXTranslationUnitImpl *getTU() const { return TU; }
74 CXTranslationUnitImpl *retTU = TU;
75 TU = nullptr;