IncludeFixer uses this BuildDir string later on if given relative paths.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LMK of the best way to add a test for this, maybe I can somehow make a test with relative path arguments?
Comment Actions
yeah unfortunately testing this is hard, but bug&fix are obvious so it's fine to land without a test.
but i think we should rather fix the broken call site at clang-tools-extra/clangd/ParsedAST.cpp and move BuildDir to outer scope where it'll outlive IncludeFixer (~line 468).