Searched refs:NewPreamble (Results 1 – 2 of 2) sorted by relevance
1351 ComputedPreamble NewPreamble = ComputePreamble(*PreambleInvocation, MaxLines); in getMainBufferWithPrecompiledPreamble() local1353 if (!NewPreamble.Size) { in getMainBufferWithPrecompiledPreamble()1369 if (Preamble.size() == NewPreamble.Size && in getMainBufferWithPrecompiledPreamble()1370 PreambleEndsAtStartOfLine == NewPreamble.PreambleEndsAtStartOfLine && in getMainBufferWithPrecompiledPreamble()1371 memcmp(Preamble.getBufferStart(), NewPreamble.Buffer->getBufferStart(), in getMainBufferWithPrecompiledPreamble()1372 NewPreamble.Size) == 0) { in getMainBufferWithPrecompiledPreamble()1452 NewPreamble.Buffer->getBuffer(), FrontendOpts.Inputs[0].getFile()); in getMainBufferWithPrecompiledPreamble()1497 NewPreamble.Buffer->getBufferStart(), in getMainBufferWithPrecompiledPreamble()1498 NewPreamble.Buffer->getBufferStart() + NewPreamble.Size); in getMainBufferWithPrecompiledPreamble()1499 PreambleEndsAtStartOfLine = NewPreamble.PreambleEndsAtStartOfLine; in getMainBufferWithPrecompiledPreamble()[all …]
1379 llvm::ErrorOr<PrecompiledPreamble> NewPreamble = PrecompiledPreamble::Build( in getMainBufferWithPrecompiledPreamble() local1386 if (NewPreamble) { in getMainBufferWithPrecompiledPreamble()1387 Preamble = std::move(*NewPreamble); in getMainBufferWithPrecompiledPreamble()1390 switch (static_cast<BuildPreambleError>(NewPreamble.getError().value())) { in getMainBufferWithPrecompiledPreamble()