Fix: store absolute path of source file in CompilationDatabase (#222)

This commit is contained in:
Shiyu
2025-09-03 20:34:02 +08:00
committed by GitHub
parent 155773cf66
commit 7beed982f2
4 changed files with 11 additions and 16 deletions

View File

@@ -115,7 +115,7 @@ public:
/// Load compile commands from given directories. If no valid commands are found,
/// search recursively from the workspace directory.
auto load_compile_commands(this Self& self,
auto load_compile_database(this Self& self,
llvm::ArrayRef<std::string> compile_commands_dirs,
llvm::StringRef workspace) -> void;