diff options
Diffstat (limited to 'clangd/GlobalCompilationDatabase.h')
-rw-r--r-- | clangd/GlobalCompilationDatabase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clangd/GlobalCompilationDatabase.h b/clangd/GlobalCompilationDatabase.h index a18e8661..cb5ad66b 100644 --- a/clangd/GlobalCompilationDatabase.h +++ b/clangd/GlobalCompilationDatabase.h @@ -65,8 +65,8 @@ public: void setExtraFlagsForFile(PathRef File, std::vector<std::string> ExtraFlags); private: - tooling::CompilationDatabase *getCompilationDatabase(PathRef File) const; - tooling::CompilationDatabase *tryLoadDatabaseFromPath(PathRef File) const; + tooling::CompilationDatabase *getCDBForFile(PathRef File) const; + tooling::CompilationDatabase *getCDBInDirLocked(PathRef File) const; void addExtraFlags(PathRef File, tooling::CompileCommand &C) const; mutable std::mutex Mutex; |