Skip to content

Commit 81fd920

Browse files
committed
Fix format
1 parent 2045e0c commit 81fd920

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ class EPCGenericDylibManager {
5252
LLVM_ABI Expected<tpctypes::DylibHandle> open(StringRef Path, uint64_t Mode);
5353

5454
/// Looks up symbols within the given dylib.
55-
Expected<tpctypes::LookupResult>
56-
lookup(tpctypes::DylibHandle H, const SymbolLookupSet &Lookup) {
55+
Expected<tpctypes::LookupResult> lookup(tpctypes::DylibHandle H,
56+
const SymbolLookupSet &Lookup) {
5757
std::promise<MSVCPExpected<tpctypes::LookupResult>> RP;
5858
auto RF = RP.get_future();
5959
lookupAsync(H, Lookup, [&RP](auto R) { RP.set_value(std::move(R)); });
6060
return RF.get();
6161
}
6262

6363
/// Looks up symbols within the given dylib.
64-
Expected<tpctypes::LookupResult>
65-
lookup(tpctypes::DylibHandle H, const RemoteSymbolLookupSet &Lookup) {
64+
Expected<tpctypes::LookupResult> lookup(tpctypes::DylibHandle H,
65+
const RemoteSymbolLookupSet &Lookup) {
6666
std::promise<MSVCPExpected<tpctypes::LookupResult>> RP;
6767
auto RF = RP.get_future();
6868
lookupAsync(H, Lookup, [&RP](auto R) { RP.set_value(std::move(R)); });

llvm/lib/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ Error EPCDynamicLibrarySearchGenerator::tryToGenerate(
8686
const auto &Sym = *SymsIt++;
8787
if (Sym && Sym->getAddress())
8888
NewSymbols[Name] = *Sym;
89-
else if (LLVM_UNLIKELY(!Sym && Flags == SymbolLookupFlags::RequiredSymbol))
89+
else if (LLVM_UNLIKELY(!Sym &&
90+
Flags == SymbolLookupFlags::RequiredSymbol))
9091
MissingSymbols.insert(Name);
9192
}
9293

llvm/lib/ExecutionEngine/Orc/ExecutorResolutionGenerator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ Error ExecutorResolutionGenerator::tryToGenerate(
7171
const auto &Sym = *Syms++;
7272
if (Sym && Sym->getAddress())
7373
NewSyms[Name] = *Sym;
74-
else if (LLVM_UNLIKELY(!Sym && Flags == SymbolLookupFlags::RequiredSymbol))
74+
else if (LLVM_UNLIKELY(!Sym &&
75+
Flags == SymbolLookupFlags::RequiredSymbol))
7576
MissingSymbols.insert(Name);
7677
}
7778

0 commit comments

Comments
 (0)