The function map generator tool always creates absolute path. The correct logic to determine whether a path should be handled as absolute depends on the value of the CrossTU directory. Added a unit test to avoid regressions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm gonna go ahead and approve this now, because I reported the issue. Note that I'm not a regular contributor, yet!
lib/CrossTU/CrossTranslationUnit.cpp | ||
---|---|---|
99 ↗ | (On Diff #118773) | Here you could drop the if/else completely and just append. |