Commit Graph

2 Commits

Author SHA1 Message Date
Fangrui Song
eb47830f0c Rendezvous after receiving "exit" notification (#159) 2018-12-26 12:19:36 -08:00
Fangrui Song
da63a5dd6d Refactor WorkingFiles and CompletionManager
* WorkingFiles::files : vector -> unordered_map
* Add timestamp to WorkingFile

* Rename "comp-preload" thread to "preamble"
* Rename CompletionManager to SemaManager as it is used by "diag" "comp" "preamble"
* Rename clang_complete.* to sema_manager.*
* Merge SemaManager::{preloads,sessions}
* Add initialization option session.maxNum
* In DiagnosticMain, if an included file was modified, cancel the DiagTask and create a PreambleTask instead. The task sets `from_diag` so as to trigger immediate DiagTask after the preamble is built.
2018-12-25 09:44:31 -08:00