[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:43:11 PDT 2023


felberj added a comment.

This addresses things like

- https://github.com/hedronvision/bazel-compile-commands-extractor/issues/136
- https://github.com/clangd/clangd/issues/124



================
Comment at: llvm/lib/Support/VirtualFileSystem.cpp:1165
+    auto Name = Node.getName();
+    Output.clear();
+    Output.append(Name.begin(), Name.end());
----------------
FYI: This is the first time I worked with this codebase. Is there a better way to do this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156781/new/

https://reviews.llvm.org/D156781



More information about the cfe-commits mailing list