Object, COFF: Clean up formatting in hasExtendedRelocations
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 13 Nov 2014 07:42:05 +0000 (07:42 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 13 Nov 2014 07:42:05 +0000 (07:42 +0000)
No functionality changed intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221867 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/COFF.h

index cf98285e8fbbd2496fa97c49098e1a1e2289a4db..e04954577f80eb850467a22cdffddce546c5b40e 100644 (file)
@@ -375,9 +375,9 @@ struct coff_section {
   // Returns true if the actual number of relocations is stored in
   // VirtualAddress field of the first relocation table entry.
   bool hasExtendedRelocations() const {
-    return Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL &&
-        NumberOfRelocations == UINT16_MAX;
-  };
+    return (Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) &&
+           NumberOfRelocations == UINT16_MAX;
+  }
 };
 
 struct coff_relocation {