Searched refs:Completion (Results 1 - 7 of 7) sorted by relevance

/external/llvm/unittests/LineEditor/
H A DLineEditor.cpp44 std::vector<LineEditor::Completion> Completions;
46 TestListCompleter(const std::vector<LineEditor::Completion> &Completions)
49 std::vector<LineEditor::Completion> operator()(StringRef Buffer,
58 std::vector<LineEditor::Completion> Comps;
60 Comps.push_back(LineEditor::Completion("foo", "int foo()"));
66 Comps.push_back(LineEditor::Completion("bar", "int bar()"));
75 Comps.push_back(LineEditor::Completion("fee", "int fee()"));
76 Comps.push_back(LineEditor::Completion("fi", "int fi()"));
77 Comps.push_back(LineEditor::Completion("foe", "int foe()"));
78 Comps.push_back(LineEditor::Completion("fu
[all...]
/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/llvm/lib/LineEditor/
H A DLineEditor.cpp35 const std::vector<Completion> &Comps) {
39 for (std::vector<Completion>::const_iterator I = Comps.begin() + 1,
56 std::vector<Completion> Comps = getCompletions(Buffer, Pos);
71 for (std::vector<Completion>::iterator I = Comps.begin(), E = Comps.end();
/external/clang/lib/Frontend/
H A DASTUnit.cpp366 CachedResult.Completion = Results[I].CreateCodeCompletionString(*TheSema,
431 CachedResult.Completion
454 CachedResult.Completion
2271 HiddenNames.count(C->Completion->getTypedText()))
2276 CodeCompletionString *Completion = C->Completion; local
2279 Priority = getMacroUsagePriority(C->Completion->getTypedText(),
2308 Builder.AddTypedTextChunk(C->Completion->getTypedText());
2310 Completion = Builder.TakeString();
2313 AllResults.push_back(Result(Completion, Priorit
[all...]
/external/clang/unittests/ASTMatchers/Dynamic/
H A DParserTest.cpp273 TEST(ParserTest, Completion) {
H A DRegistryTest.cpp439 TEST_F(RegistryTest, Completion) {
/external/clang/include/clang/Frontend/
H A DASTUnit.h325 CodeCompletionString *Completion; member in struct:clang::ASTUnit::CachedCodeCompletionResult

Completed in 381 milliseconds