[llvm] r341283 - clang-format r341282.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 1 18:29:30 PDT 2018
Author: lhames
Date: Sat Sep 1 18:29:29 2018
New Revision: 341283
URL: http://llvm.org/viewvc/llvm-project?rev=341283&view=rev
Log:
clang-format r341282.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h
llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp
Modified: llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h?rev=341283&r1=341282&r2=341283&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/JITSymbol.h Sat Sep 1 18:29:29 2018
@@ -83,13 +83,13 @@ public:
}
/// Bitwise AND-assignment for FlagNames.
- JITSymbolFlags& operator&=(const FlagNames &RHS) {
+ JITSymbolFlags &operator&=(const FlagNames &RHS) {
Flags &= RHS;
return *this;
}
/// Bitwise OR-assignment for FlagNames.
- JITSymbolFlags& operator|=(const FlagNames &RHS) {
+ JITSymbolFlags &operator|=(const FlagNames &RHS) {
Flags |= RHS;
return *this;
}
@@ -136,7 +136,9 @@ public:
bool isCallable() const { return (Flags & Callable) == Callable; }
/// Get the underlying flags value as an integer.
- UnderlyingType getRawFlagsValue() const { return static_cast<UnderlyingType>(Flags); }
+ UnderlyingType getRawFlagsValue() const {
+ return static_cast<UnderlyingType>(Flags);
+ }
/// Return a reference to the target-specific flags.
TargetFlagsType& getTargetFlags() { return TargetFlags; }
Modified: llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp?rev=341283&r1=341282&r2=341283&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp Sat Sep 1 18:29:29 2018
@@ -1158,7 +1158,8 @@ void JITDylib::emit(const SymbolFlagsMap
assert(DependantJD.Symbols.count(DependantName) &&
"Dependant has no entry in the Symbols table");
auto &DependantSym = DependantJD.Symbols[DependantName];
- DependantSym.setFlags(DependantSym.getFlags() & ~JITSymbolFlags::Materializing);
+ DependantSym.setFlags(DependantSym.getFlags() &
+ ~JITSymbolFlags::Materializing);
DependantJD.MaterializingInfos.erase(DependantMII);
}
}
More information about the llvm-commits
mailing list