[clang] [clang] Fix include behavior for leading double slashes (PR #213689)

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 3 09:59:56 PDT 2026


================
@@ -968,7 +968,7 @@ OptionalFileEntryRef HeaderSearch::LookupFile(
     *SuggestedModule = ModuleMap::KnownHeader();
 
   // If 'Filename' is absolute, check to see if it exists and no searching.
----------------
hubert-reinterpretcast wrote:

Please expand the comment to explain what using `is_absolute_gnu` does here. In particular, please record the intention for whether Windows UNC paths are meant to be treated as "absolute" for the purposes of the comment.

https://github.com/llvm/llvm-project/pull/213689


More information about the cfe-commits mailing list