Searched defs:Completion (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/LineEditor/
H A DLineEditor.h66 struct Completion { struct in class:llvm::LineEditor
67 Completion() {} function in struct:llvm::LineEditor::Completion
68 Completion(const std::string &TypedText, const std::string &DisplayText) function in struct:llvm::LineEditor::Completion
91 /// position in the StringRef) and returns a std::vector<Completion>.
124 static std::string getCommonPrefix(const std::vector<Completion> &Comps);
125 virtual std::vector<Completion> getCompletions(StringRef Buffer,
141 std::vector<Completion> getCompletions(StringRef Buffer,
/external/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp440 const MatcherCompletion& Completion) {
441 if (StringRef(Completion.TypedText).startswith(CompToken.Text) &&
442 Completion.Specificity > 0) {
443 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()),
444 Completion.MatcherDecl, Completion.Specificity);
477 for (const auto &Completion : S->getMatcherCompletions(AcceptedTypes)) {
478 addCompletion(CompToken, Completion);
481 for (const auto &Completion : getNamedValueCompletions(AcceptedTypes)) {
482 addCompletion(CompToken, Completion);
439 addCompletion(const TokenInfo &CompToken, const MatcherCompletion& Completion) argument
[all...]
/external/clang/include/clang/Frontend/
H A DASTUnit.h324 CodeCompletionString *Completion; member in struct:clang::ASTUnit::CachedCodeCompletionResult
/external/clang/lib/Frontend/
H A DASTUnit.cpp362 CachedResult.Completion = R.CreateCodeCompletionString(
425 CachedResult.Completion = R.CreateCodeCompletionString(
446 CachedResult.Completion = R.CreateCodeCompletionString(
2219 HiddenNames.count(C->Completion->getTypedText()))
2224 CodeCompletionString *Completion = C->Completion; local
2227 Priority = getMacroUsagePriority(C->Completion->getTypedText(),
2256 Builder.AddTypedTextChunk(C->Completion->getTypedText());
2258 Completion = Builder.TakeString();
2261 AllResults.push_back(Result(Completion, Priorit
[all...]

Completed in 135 milliseconds