Skip to content

Commit b74d194

Browse files
committed
clang-format
1 parent d776b59 commit b74d194

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

llvm/lib/Target/RISCV/RISCVConstantPoolValue.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121

2222
using namespace llvm;
2323

24-
RISCVConstantPoolValue::RISCVConstantPoolValue(LLVMContext &C,
25-
RISCVCPKind Kind)
24+
RISCVConstantPoolValue::RISCVConstantPoolValue(LLVMContext &C, RISCVCPKind Kind)
2625
: MachineConstantPoolValue((Type *)Type::getInt64Ty(C)), Kind(Kind) {}
2726

28-
RISCVConstantPoolValue::RISCVConstantPoolValue(Type *Ty,
29-
RISCVCPKind Kind)
27+
RISCVConstantPoolValue::RISCVConstantPoolValue(Type *Ty, RISCVCPKind Kind)
3028
: MachineConstantPoolValue(Ty), Kind(Kind) {}
3129

3230
int RISCVConstantPoolValue::getExistingMachineCPValue(MachineConstantPool *CP,
@@ -41,7 +39,8 @@ RISCVConstantPoolConstant::RISCVConstantPoolConstant(Type *Ty,
4139

4240
RISCVConstantPoolConstant *
4341
RISCVConstantPoolConstant::Create(const GlobalValue *GV) {
44-
return new RISCVConstantPoolConstant(GV->getType(), GV, RISCVCPKind::GlobalValue);
42+
return new RISCVConstantPoolConstant(GV->getType(), GV,
43+
RISCVCPKind::GlobalValue);
4544
}
4645

4746
RISCVConstantPoolConstant *

llvm/lib/Target/RISCV/RISCVConstantPoolValue.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ class RISCVConstantPoolValue : public MachineConstantPoolValue {
6969
class RISCVConstantPoolConstant : public RISCVConstantPoolValue {
7070
const Constant *CVal;
7171

72-
RISCVConstantPoolConstant(Type *Ty, const Constant *GV,
73-
RISCVCPKind Kind);
72+
RISCVConstantPoolConstant(Type *Ty, const Constant *GV, RISCVCPKind Kind);
7473

7574
public:
7675
static RISCVConstantPoolConstant *Create(const GlobalValue *GV);

0 commit comments

Comments
 (0)