r354751 - Wrap code for builtin_assume_aligned at 80 col.NFC
Kristina Brooks via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 24 09:57:34 PST 2019
Author: kristina
Date: Sun Feb 24 09:57:33 2019
New Revision: 354751
URL: http://llvm.org/viewvc/llvm-project?rev=354751&view=rev
Log:
Wrap code for builtin_assume_aligned at 80 col.NFC
Minor style fix to avoid going over 80 cols in handling
of case for Builtin::BI__builtin_assume_aligned. NFC.
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=354751&r1=354750&r2=354751&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Sun Feb 24 09:57:33 2019
@@ -2006,7 +2006,8 @@ RValue CodeGenFunction::EmitBuiltinExpr(
ConstantInt *AlignmentCI = cast<ConstantInt>(AlignmentValue);
unsigned Alignment = (unsigned)AlignmentCI->getZExtValue();
- EmitAlignmentAssumption(PtrValue, Ptr, /*The expr loc is sufficient.*/ SourceLocation(),
+ EmitAlignmentAssumption(PtrValue, Ptr,
+ /*The expr loc is sufficient.*/ SourceLocation(),
Alignment, OffsetValue);
return RValue::get(PtrValue);
}
More information about the cfe-commits
mailing list