From: David Majnemer Date: Thu, 13 Nov 2014 07:42:05 +0000 (+0000) Subject: Object, COFF: Clean up formatting in hasExtendedRelocations X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7daa54341317c0298eefcf01e0c5a77b01f4cd05;p=oota-llvm.git Object, COFF: Clean up formatting in hasExtendedRelocations No functionality changed intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221867 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index cf98285e8fb..e04954577f8 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -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 {