clang-format r341282.
authorLang Hames <lhames@gmail.com>
Sun, 2 Sep 2018 01:29:29 +0000 (01:29 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 2 Sep 2018 01:29:29 +0000 (01:29 +0000)
llvm-svn: 341283

llvm/include/llvm/ExecutionEngine/JITSymbol.h
llvm/lib/ExecutionEngine/Orc/Core.cpp

index cf25120..8956033 100644 (file)
@@ -83,13 +83,13 @@ public:
   }
 
   /// Bitwise AND-assignment for FlagNames.
-  JITSymbolFlagsoperator&=(const FlagNames &RHS) {
+  JITSymbolFlags &operator&=(const FlagNames &RHS) {
     Flags &= RHS;
     return *this;
   }
 
   /// Bitwise OR-assignment for FlagNames.
-  JITSymbolFlagsoperator|=(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; }
index 0a44e2e..baee50e 100644 (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);
           }
         }