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