[llvm] r269990 - fix formatting; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 15:05:29 PDT 2016


Author: spatel
Date: Wed May 18 17:05:28 2016
New Revision: 269990

URL: http://llvm.org/viewvc/llvm-project?rev=269990&view=rev
Log:
fix formatting; NFC

Modified:
    llvm/trunk/lib/IR/Constants.cpp

Modified: llvm/trunk/lib/IR/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Constants.cpp?rev=269990&r1=269989&r2=269990&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Constants.cpp (original)
+++ llvm/trunk/lib/IR/Constants.cpp Wed May 18 17:05:28 2016
@@ -567,8 +567,7 @@ Constant *ConstantInt::get(Type *Ty, uin
   return C;
 }
 
-ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, 
-                              bool isSigned) {
+ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) {
   return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned));
 }
 
@@ -592,8 +591,7 @@ Constant *ConstantInt::get(Type *Ty, con
   return C;
 }
 
-ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str,
-                              uint8_t radix) {
+ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) {
   return get(Ty->getContext(), APInt(Ty->getBitWidth(), Str, radix));
 }
 
@@ -1539,8 +1537,7 @@ Constant *ConstantExpr::getPointerBitCas
   return getBitCast(S, Ty);
 }
 
-Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty,
-                                       bool isSigned) {
+Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty, bool isSigned) {
   assert(C->getType()->isIntOrIntVectorTy() &&
          Ty->isIntOrIntVectorTy() && "Invalid cast");
   unsigned SrcBits = C->getType()->getScalarSizeInBits();




More information about the llvm-commits mailing list