Skip to content

Commit 0778cad

Browse files
committed
Fix style warnings.
1 parent 8b70d52 commit 0778cad

File tree

1 file changed

+6
-6
lines changed
  • llvm/include/llvm/Object

1 file changed

+6
-6
lines changed

llvm/include/llvm/Object/COFF.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -582,14 +582,14 @@ struct coff_tls_directory {
582582
return 0;
583583
}
584584

585-
void setAlignment(uint32_t align) {
586-
if (!align) {
585+
void setAlignment(uint32_t Align) {
586+
if (!Align) {
587587
Characteristics &= ~COFF::IMAGE_SCN_ALIGN_MASK;
588588
} else {
589-
assert(llvm::isPowerOf2_32(align) && "alignment is not a power of 2");
590-
uint32_t p2Align = llvm::Log2_32(align);
591-
assert(p2Align <= 13 && "invalid alignment requested");
592-
Characteristics |= (p2Align + 1) << 20;
589+
assert(llvm::isPowerOf2_32(Align) && "alignment is not a power of 2");
590+
uint32_t P2Align = llvm::Log2_32(Align);
591+
assert(P2Align <= 13 && "invalid alignment requested");
592+
Characteristics |= (P2Align + 1) << 20;
593593
}
594594
}
595595
};

0 commit comments

Comments
 (0)