Lines Matching refs:Mapping

270 std::pair<const syntax::Token *, const TokenBuffer::Mapping *>
284 auto It = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in spelledForExpandedToken()
306 const TokenBuffer::Mapping *
313 auto It = llvm::partition_point(F.Mappings, [SpelledI](const Mapping &M) { in mappingStartingBeforeSpelled()
397 std::string TokenBuffer::Mapping::str() const { in str()
462 const Mapping &M) const { in makeExpansion()
496 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionStartingAt()
513 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionsOverlapping()
567 for (auto Mapping : File.Mappings) { in macroExpansions() local
568 const syntax::Token *Token = &Spelled[Mapping.BeginSpelled]; in macroExpansions()
745 assert(llvm::is_sorted(mappings, [](const TokenBuffer::Mapping &M1, in build()
746 const TokenBuffer::Mapping &M2) { in build()
772 TokenBuffer::Mapping Mapping; in discard() local
773 Mapping.BeginSpelled = NextSpelled; in discard()
776 Mapping.BeginExpanded = Mapping.EndExpanded = in discard()
781 Mapping.EndSpelled = NextSpelled; in discard()
782 if (Mapping.BeginSpelled != Mapping.EndSpelled) in discard()
783 Result.Files[File].Mappings.push_back(Mapping); in discard()
784 Mapping.BeginSpelled = NextSpelled; in discard()
834 TokenBuffer::Mapping Mapping; in advance() local
835 Mapping.BeginExpanded = NextExpanded; in advance()
836 Mapping.BeginSpelled = NextSpelled; in advance()
847 Mapping.EndExpanded = NextExpanded; in advance()
848 Mapping.EndSpelled = NextSpelled; in advance()
849 Result.Files[File].Mappings.push_back(Mapping); in advance()