|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/STLExtras.h 113 return (*reinterpret_cast<Callable*>(callable))(
include/llvm/ADT/ScopeExit.h 45 ExitFunction();
include/llvm/ExecutionEngine/JITSymbol.h 298 if (auto CachedAddrOrErr = GetAddress()) {
include/llvm/IR/PassInstrumentation.h 150 ShouldRun &= C(Pass.name(), llvm::Any(&IR));
161 C(Pass.name(), llvm::Any(&IR));
171 C(Pass.name());
180 C(Analysis.name(), llvm::Any(&IR));
189 C(Analysis.name(), llvm::Any(&IR));
lib/ExecutionEngine/Orc/Core.cpp 321 TmpNotifyComplete(std::move(ResolvedSymbols));
330 NotifyComplete(std::move(Err));
lib/ExecutionEngine/Orc/Legacy.cpp 29 OnResolved(InternedResult.takeError());
36 OnResolved(Result);
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp 34 OnResolved(InternedResult.takeError());
41 OnResolved(Result);
lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp 79 OnResolved(AddrOrErr.takeError());
83 OnResolved(std::move(Err));
91 OnResolved(AddrOrErr.takeError());
95 OnResolved(std::move(Err));
98 OnResolved(make_error<StringError>("Symbol not found: " + Symbol,
105 OnResolved(std::move(Result));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 1202 OnEmitted(Result.takeError());
1216 OnEmitted(make_error<StringError>(std::move(ErrMsg),
1219 OnEmitted(Error::success());
1422 OnEmitted(make_error<StringError>(RTDyld.getErrorString(),
1427 if (auto Err = OnLoaded(std::move(Info), RTDyld.getSymbolTable()))
1428 OnEmitted(std::move(Err));
lib/Support/Unix/Threading.inc 53 (*Info)();
tools/clang/lib/Lex/Preprocessor.cpp 960 OnToken(Result);
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 230 ReplyHandler(std::move(Result));
234 ReplyHandler(std::move(Err));
278 OldestCB->second(llvm::createStringError(
477 return Reply(llvm::make_error<LSPError>("server already initialized",
587 Reply(std::move(Result));
594 Reply(nullptr);
602 Reply(nullptr);
604 Reply(llvm::createStringError(llvm::inconvertibleErrorCode(),
656 return Reply(Response.takeError());
661 return Reply(llvm::createStringError(
665 return Reply(SuccessMessage);
684 return Reply(llvm::createStringError(
692 return Reply(R.takeError());
705 return Reply("Tweak applied.");
708 return Reply(std::move(Err));
726 Reply(llvm::make_error<LSPError>(
740 return Reply(Items.takeError());
744 Reply(std::move(*Items));
759 return Reply(llvm::make_error<LSPError>(
766 return Reply(Edits.takeError());
770 Reply(WE);
802 return Reply(llvm::make_error<LSPError>(
806 Reply(Server->formatOnType(*Code, File, Params.position, Params.ch));
815 return Reply(llvm::make_error<LSPError>(
821 Reply(replacementsToEdits(*Code, ReplacementsOrError.get()));
823 Reply(ReplacementsOrError.takeError());
832 return Reply(llvm::make_error<LSPError>(
838 Reply(replacementsToEdits(*Code, ReplacementsOrError.get()));
840 Reply(ReplacementsOrError.takeError());
878 return Reply(Items.takeError());
881 return Reply(std::move(*Items));
883 return Reply(flattenSymbolHierarchy(*Items, FileURI));
910 return Reply(llvm::make_error<LSPError>(
927 return Reply(Tweaks.takeError());
935 return Reply(llvm::json::Array(Actions));
941 return Reply(llvm::json::Array(Commands));
953 return Reply(CompletionList());
959 return Reply(List.takeError());
968 return Reply(std::move(LSPList));
978 return Reply(Signature.takeError());
980 return Reply(std::move(*Signature));
987 return Reply(std::move(*Signature));
1018 return Reply(Symbols.takeError());
1022 return Reply(std::vector<Location>{std::move(*Toggle)});
1025 Reply(std::move(Defs));
1037 return Reply(Symbols.takeError());
1041 return Reply(std::vector<Location>{std::move(*Toggle)});
1044 Reply(std::move(Decls));
1056 return Reply(Path.takeError());
1058 return Reply(URIForFile::canonicalize(**Path, Params.uri.file()));
1059 return Reply(llvm::None);
1076 return Reply(H.takeError());
1078 return Reply(llvm::None);
1086 return Reply(std::move(R));
1089 return Reply(std::move(R));
1171 return Reply(llvm::make_error<LSPError>(
1180 return Reply(Ranges.takeError());
1184 return Reply(std::move(Result));
tools/clang/tools/extra/clangd/ClangdLSPServer.h 172 CB(RawResponse.takeError());
174 CB(std::move(Rsp));
177 CB(llvm::make_error<LSPError>("failed to decode reponse",
tools/clang/tools/extra/clangd/ClangdServer.cpp 197 return CB(IP.takeError());
199 return CB(llvm::make_error<CancelledError>());
224 CB(std::move(Result));
253 return CB(IP.takeError());
256 CB(clangd::signatureHelp(File, IP->Command, PreambleData, IP->Contents, Pos,
309 return CB(InpAST.takeError());
319 return CB(Changes.takeError());
325 return CB(*Range);
327 CB(llvm::None);
338 return CB(InpAST.takeError());
341 return CB(Changes.takeError());
356 return CB(std::move(Edits));
378 return CB(InpAST.takeError());
381 return CB(Selection.takeError());
386 CB(std::move(Res));
398 return CB(InpAST.takeError());
401 return CB(Selection.takeError());
404 return CB(A.takeError());
407 return CB(Effect.takeError());
415 return CB(std::move(*Effect));
426 return Callback("<no-ast>");
434 Callback(Result);
445 return CB(InpAST.takeError());
446 CB(clangd::locateSymbolAt(InpAST->AST, Pos, Index));
462 return CB(std::move(CorrespondingFile));
466 return CB(InpAST.takeError());
467 CB(getCorrespondingHeaderOrSource(Path, InpAST->AST, Index));
495 return CB(InpAST.takeError());
496 CB(clangd::findDocumentHighlights(InpAST->AST, Pos));
507 return CB(InpAST.takeError());
510 CB(clangd::getHover(InpAST->AST, Pos, std::move(Style), Index));
522 return CB(InpAST.takeError());
523 CB(clangd::getTypeHierarchy(InpAST->AST, Pos, Resolve, Direction, Index,
534 CB(Item);
548 CB(clangd::getWorkspaceSymbols(Query, Limit, Index,
558 return CB(InpAST.takeError());
559 CB(clangd::getDocumentSymbols(InpAST->AST));
569 return CB(InpAST.takeError());
570 CB(clangd::findReferences(InpAST->AST, Pos, Limit, Index));
581 return CB(InpAST.takeError());
582 CB(clangd::getSymbolInfo(InpAST->AST, Pos));
593 return CB(InpAST.takeError());
594 CB(clangd::getSemanticRanges(InpAST->AST, Pos));
tools/clang/tools/extra/clangd/CodeComplete.cpp 750 ResultsCallback();
tools/clang/tools/extra/clangd/TUScheduler.cpp 531 return Action(llvm::make_error<CancelledError>());
553 return Action(llvm::make_error<llvm::StringError>(
555 Action(InputsAndAST{*CurrentInputs, **AST});
578 return Callback(getPossiblyStalePreamble());
583 Callback(getPossiblyStalePreamble());
635 Task();
706 Req.Action();
922 return Action();
926 Action();
935 Action(llvm::make_error<LSPError>(
948 Action(llvm::make_error<LSPError>(
959 Action(InputsAndPreamble{It->second->Contents,
1001 Action(InputsAndPreamble{Contents, Command, Preamble.get()});
tools/clang/tools/extra/clangd/Threading.cpp 90 Action();
tools/clang/tools/extra/clangd/Threading.h 129 return Action();
tools/clang/tools/extra/clangd/index/Background.cpp 306 BackgroundIndexStorage *IndexStorage = IndexStorageFactory(Path);
tools/clang/tools/extra/clangd/index/BackgroundIndexLoader.cpp 63 BackgroundIndexStorage *Storage = IndexStorageFactory(LS.AbsolutePath);
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp 88 llvm::unique_function<void(PathRef, std::vector<Diag>)> &> (*D)(
107 CB(std::move(Diags));
unittests/ADT/FunctionExtrasTest.cpp 20 EXPECT_EQ(Sum(1, 2), 3);
23 EXPECT_EQ(Sum2(1, 2), 3);
27 EXPECT_EQ(Sum2(1, 2), 3);
30 EXPECT_EQ(Sum2(1, 2), 3);
34 EXPECT_EQ(Sum2(1, 2), 3);
42 Inc(X);
54 EXPECT_EQ(ReadAndDeallocByRef(std::move(Ptr)), 13);
58 EXPECT_EQ(ReadAndDeallocByRef(std::unique_ptr<int>(new int(42))), 42);
68 EXPECT_EQ(ReadAndDeallocByVal(std::move(Ptr)), 13);
71 EXPECT_EQ(ReadAndDeallocByVal(std::unique_ptr<int>(new int(42))), 42);
80 EXPECT_EQ(C1(), 1);
82 EXPECT_EQ(Tmp(), 1);
85 EXPECT_EQ(C2(), 3);
87 EXPECT_EQ(Tmp(), 3);
90 EXPECT_EQ(C3(), 6);
92 EXPECT_EQ(Tmp(), 6);
95 EXPECT_EQ(C4(), 10);
97 EXPECT_EQ(Tmp(), 10);
100 EXPECT_EQ(C5(), 15);
102 EXPECT_EQ(Tmp(), 15);
112 EXPECT_EQ(Small(2), 3);
114 EXPECT_EQ(Small2(2), 3);
126 EXPECT_EQ(Large(), 15);
128 EXPECT_EQ(Large2(), 15);
143 ByValF(CopyCounter(CopyCount));
149 ByValF(Counter);
158 ByRefF(CopyCounter(CopyCount));
164 ByRefF(Counter);
176 UncopyableF(Uncopyable());
178 UncopyableF(X);
191 ByValF(MoveCounter(MoveCount));
197 ByValF(std::move(Counter));
204 ByRefF(MoveCounter(MoveCount));
210 ByRefF(std::move(Counter));
222 UnmovableF(Unmovable());
224 UnmovableF(X);