Lines Matching defs:PTU
224 // An initial PTU is needed as CUDA includes some headers automatically
225 auto PTU = ParseOrWrapTopLevelDecl();
226 if (auto E = PTU.takeError()) {
228 return; // PTU.takeError();
232 PTU->TheModule = GenModule();
233 assert(PTU->TheModule && "Failed to create initial PTU");
252 // Add a new PTU.
264 // Start a new PTU.
339 auto PTU = ParseOrWrapTopLevelDecl();
340 if (!PTU)
341 return PTU.takeError();
360 PTU->TheModule = std::move(M);
362 return PTU;
388 void IncrementalParser::CleanUpPTU(PartialTranslationUnit &PTU) {
389 TranslationUnitDecl *MostRecentTU = PTU.TUPart;