[all-commits] [llvm/llvm-project] 14e991: [clang][ExtractAPI] Ensure LocationFileChecker doe...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Fri Dec 1 07:54:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14e991740b5425680d49d75336132e793f1315e8
      https://github.com/llvm/llvm-project/commit/14e991740b5425680d49d75336132e793f1315e8
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    A clang/test/ExtractAPI/vfs_redirected_include.m

  Log Message:
  -----------
  [clang][ExtractAPI] Ensure LocationFileChecker doesn't try to traverse VFS when determining file path (#74071)

As part of https://reviews.llvm.org/D154130 the logic of
LocationFileChecker changed slightly to try and get the absolute
external file path instead of the name as requested when the file was
openened which would be before VFS mappings in our usage. Ensure that we
only check against the name as requested instead of trying to generate
the external canonical file path.

rdar://115195433




More information about the All-commits mailing list