Searched refs:ProvenanceRange (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/flang/include/flang/Parser/ |
D | provenance.h | 80 using ProvenanceRange = common::Interval<Provenance>; variable 92 void Put(ProvenanceRange, std::size_t offset); 93 std::optional<std::size_t> Map(ProvenanceRange) const; 101 bool operator()(ProvenanceRange, ProvenanceRange) const; 104 std::multimap<ProvenanceRange, std::size_t, WhollyPrecedes> map_; 118 void Put(ProvenanceRange); 120 ProvenanceRange Map(std::size_t at) const; 128 ProvenanceRange range; 156 ProvenanceRange AddIncludedFile( 157 const SourceFile &, ProvenanceRange, bool isModule = false); [all …]
|
D | message.h | 151 Message(ProvenanceRange pr, const MessageFixedText &t) in Message() 153 Message(ProvenanceRange pr, const MessageFormattedText &s) in Message() 155 Message(ProvenanceRange pr, MessageFormattedText &&s) in Message() 157 Message(ProvenanceRange pr, const MessageExpectedText &t) in Message() 190 std::optional<ProvenanceRange> GetProvenanceRange( 207 std::variant<ProvenanceRange, CharBlock> location_;
|
/external/llvm-project/flang/lib/Parser/ |
D | provenance.cpp | 21 ProvenanceRange range, std::size_t offset) { in Put() 37 ProvenanceRange range) const { in Map() 41 ProvenanceRange that{iter->first}; in Map() 53 ProvenanceRange before, ProvenanceRange after) const { in operator ()() 76 void OffsetToProvenanceMappings::Put(ProvenanceRange range) { in Put() 93 ProvenanceRange OffsetToProvenanceMappings::Map(std::size_t at) const { in Map() 126 ProvenanceRange range{contig.range}; in Invert() 128 ProvenanceRange source{allSources.IntersectionWithSourceFiles(range)}; in Invert() 187 ProvenanceRange AllSources::AddIncludedFile( in AddIncludedFile() 188 const SourceFile &source, ProvenanceRange from, bool isModule) { in AddIncludedFile() [all …]
|
D | message.cpp | 137 [](CharBlock, const ProvenanceRange &) { return false; }, in SortBefore() argument 138 [](const ProvenanceRange &pr1, const ProvenanceRange &pr2) { in SortBefore() 141 [](const ProvenanceRange &, CharBlock) { return true; }, in SortBefore() argument 170 if (std::optional<ProvenanceRange> resolved{ in ResolveProvenances() 180 std::optional<ProvenanceRange> Message::GetProvenanceRange( in GetProvenanceRange() 185 [](const ProvenanceRange &pr) { return std::make_optional(pr); }, in GetProvenanceRange() 192 std::optional<ProvenanceRange> provenanceRange{GetProvenanceRange(allCooked)}; in Emit() 251 [](const ProvenanceRange &pr1, const ProvenanceRange &pr2) { in AtSameLocation()
|
D | token-sequence.cpp | 108 void TokenSequence::Put(const TokenSequence &that, ProvenanceRange range) { in Put() 121 ProvenanceRange provenance; in Put() 290 ProvenanceRange range{provenances_.Map(start_[token] + offset)}; in GetTokenProvenance() 294 ProvenanceRange TokenSequence::GetTokenProvenanceRange( in GetTokenProvenanceRange() 296 ProvenanceRange range{provenances_.Map(start_[token] + offset)}; in GetTokenProvenanceRange() 300 ProvenanceRange TokenSequence::GetIntervalProvenanceRange( in GetIntervalProvenanceRange() 305 ProvenanceRange range{provenances_.Map(start_[token])}; in GetIntervalProvenanceRange() 312 ProvenanceRange TokenSequence::GetProvenanceRange() const { in GetProvenanceRange()
|
D | token-sequence.h | 98 void Put(const TokenSequence &, ProvenanceRange); 107 ProvenanceRange GetTokenProvenanceRange( 109 ProvenanceRange GetIntervalProvenanceRange( 111 ProvenanceRange GetProvenanceRange() const;
|
D | parsing.cpp | 41 ProvenanceRange range{allSources.AddCompilerInsertion(path)}; in Prescan() 79 ProvenanceRange range{allSources.AddIncludedFile( in Prescan() 80 *sourceFile, ProvenanceRange{}, options.isModuleFile)}; in Prescan()
|
D | preprocessor.cpp | 303 ProvenanceRange insert{allSources_.AddCompilerInsertion(repl)}; in MacroReplacement() 304 ProvenanceRange call{allSources_.AddMacroCall( in MacroReplacement() 315 ProvenanceRange from{def.replacement().GetProvenanceRange()}; in MacroReplacement() 316 ProvenanceRange use{input.GetTokenProvenanceRange(j)}; in MacroReplacement() 317 ProvenanceRange newRange{ in MacroReplacement() 377 ProvenanceRange from{def.replacement().GetProvenanceRange()}; in MacroReplacement() 378 ProvenanceRange use{input.GetIntervalProvenanceRange(j, k - j)}; in MacroReplacement() 379 ProvenanceRange newRange{ in MacroReplacement() 623 ProvenanceRange fileRange{ in Directive() 663 ProvenanceRange provenanceRange) { in SkipDisabledConditionalCode()
|
D | prescan.h | 62 void Prescan(ProvenanceRange); 118 ProvenanceRange GetProvenanceRange( in GetProvenanceRange()
|
D | preprocessor.h | 89 const std::string &, IsElseActive, Prescanner *, ProvenanceRange);
|
D | prescan.cpp | 62 void Prescanner::Prescan(ProvenanceRange range) { in Prescan() 774 ProvenanceRange includeLineRange{ in FortranInclude() 776 ProvenanceRange fileRange{ in FortranInclude()
|