================ @@ -173,6 +173,7 @@ class Action : public clang::ASTFrontendAction { if (!HTMLReportPath.empty()) writeHTML(); + // Source File's path relative to compilation database. llvm::StringRef Path = ---------------- kadircet wrote:
can we keep reporting with abs-paths here, i.e: ``` llvm::SmallString<256> AbsPath(SM.getFileEntryRefForID(SM.getMainFileID())->getName()); SM.getFileManager().makeAbsolutePath(AbsPath); ... ``` This way we can recognize these paths in main and perform the mapping accordingly. https://github.com/llvm/llvm-project/pull/111375 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits