clang-format r341282.

llvm-svn: 341283
This commit is contained in:
Lang Hames 2018-09-02 01:29:29 +00:00
parent 6a2a889b8a
commit b993cf50d6
2 changed files with 7 additions and 4 deletions

View File

@ -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; }

View File

@ -1158,7 +1158,8 @@ void JITDylib::emit(const SymbolFlagsMap &Emitted) {
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);
}
}