[PATCH] D156781: Use the canonical path for the include header search.

Jonas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 02:36:32 PDT 2023


felberj created this revision.
Herald added subscribers: kadircet, arphaman, hiraditya.
Herald added a project: All.
felberj requested review of this revision.
Herald added subscribers: cfe-commits, llvm-commits, ilya-biryukov.
Herald added projects: clang, LLVM, clang-tools-extra.

This is done so that clangd can propose the correct include path when
a include directory contains a symlink.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156781

Files:
  clang-tools-extra/clangd/unittests/HeadersTests.cpp
  clang-tools-extra/clangd/unittests/TestFS.cpp
  clang-tools-extra/clangd/unittests/TestFS.h
  clang/lib/Lex/InitHeaderSearch.cpp
  llvm/lib/Support/VirtualFileSystem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156781.545979.patch
Type: text/x-patch
Size: 4911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230801/ee798a68/attachment.bin>


More information about the cfe-commits mailing list