<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in module.modulemap.template</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>44451351 - [clang][lex] Remark on search path usage</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Preprocessor/Inputs/search-path-usage/modulemap_abs/module.modulemap.template#44451351</link>
        <description>[clang][lex] Remark on search path usageFor dependency scanning, it would be useful to collect header search paths (provided on command-line via `-I` and friends) that were actually used during preprocessing. This patch adds that feature to `HeaderSearch` along with a new remark that reports such paths as they get used.Previous version of this patch tried to use the existing `LookupFileCache` to report used paths via `HitIdx`. That doesn&apos;t work for `ComputeUserEntryUsage` (which is intended to be called *after* preprocessing), because it indexes used search paths by the file name. This means the values get overwritten when the code contains `#include_next`.Note that `HeaderSearch` doesn&apos;t use `HeaderSearchOptions::UserEntries` directly. Instead, `InitHeaderSearch` pre-processes them (adds platform-specific paths, removes duplicates, removes paths that don&apos;t exist) and creates `DirectoryLookup` instances. This means we need a mechanism for translating between those two. It&apos;s not possible to go from `DirectoryLookup` back to the original `HeaderSearch`, so `InitHeaderSearch` now tracks the relationships explicitly.Depends on D111557.Reviewed By: dexonsmithDifferential Revision: https://reviews.llvm.org/D102923

            List of files:
            /llvm-project-15.0.7/clang/test/Preprocessor/Inputs/search-path-usage/modulemap_abs/module.modulemap.template</description>
        <pubDate>Tue, 12 Oct 2021 07:34:43 +0000</pubDate>
        <dc:creator>Jan Svoboda &lt;jan_svoboda@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
