Some docs for CandidateRepository
This commit is contained in:
parent
48bc4e224f
commit
0649d11bf4
@ -33,6 +33,15 @@ struct CompletionData;
|
||||
typedef boost::unordered_map< std::string, const Candidate * >
|
||||
CandidateHolder;
|
||||
|
||||
|
||||
// This singleton stores already built Candidate objects for candidate strings
|
||||
// that were already seen. If Candidates are requested for previously unseen
|
||||
// strings, new Candidate objects are built.
|
||||
//
|
||||
// This is shared by the identifier completer and the clang completer so that
|
||||
// work is not repeated.
|
||||
//
|
||||
// This class is thread-safe.
|
||||
class CandidateRepository : boost::noncopyable {
|
||||
public:
|
||||
static CandidateRepository &Instance();
|
||||
|
Loading…
Reference in New Issue
Block a user