@@ -93,7 +93,8 @@ class ConstantInt : public Constant {
93
93
// / be interpreted as a 64-bit signed integer and sign-extended to fit
94
94
// / the type.
95
95
// / Get a ConstantInt for a specific value.
96
- LLVM_ABI static ConstantInt *get (IntegerType *Ty, uint64_t V, bool IsSigned = false );
96
+ LLVM_ABI static ConstantInt *get (IntegerType *Ty, uint64_t V,
97
+ bool IsSigned = false );
97
98
98
99
// / Return a ConstantInt with the specified value for the specified type. The
99
100
// / value V will be canonicalized to a an unsigned APInt. Accessing it with
@@ -109,7 +110,8 @@ class ConstantInt : public Constant {
109
110
110
111
// / Return a ConstantInt constructed from the string strStart with the given
111
112
// / radix.
112
- LLVM_ABI static ConstantInt *get (IntegerType *Ty, StringRef Str, uint8_t Radix);
113
+ LLVM_ABI static ConstantInt *get (IntegerType *Ty, StringRef Str,
114
+ uint8_t Radix);
113
115
114
116
// / If Ty is a vector type, return a Constant with a splat of the given
115
117
// / value. Otherwise return a ConstantInt for the given value.
@@ -275,11 +277,11 @@ class ConstantFP final : public Constant {
275
277
LLVM_ABI static ConstantFP *get (const APFloat &V, Context &Ctx);
276
278
277
279
LLVM_ABI static Constant *getNaN (Type *Ty, bool Negative = false ,
278
- uint64_t Payload = 0 );
280
+ uint64_t Payload = 0 );
279
281
LLVM_ABI static Constant *getQNaN (Type *Ty, bool Negative = false ,
280
- APInt *Payload = nullptr );
282
+ APInt *Payload = nullptr );
281
283
LLVM_ABI static Constant *getSNaN (Type *Ty, bool Negative = false ,
282
- APInt *Payload = nullptr );
284
+ APInt *Payload = nullptr );
283
285
LLVM_ABI static Constant *getZero (Type *Ty, bool Negative = false );
284
286
285
287
LLVM_ABI static Constant *getNegativeZero (Type *Ty);
@@ -396,8 +398,8 @@ class ConstantStruct final : public ConstantAggregate {
396
398
return get (getTypeForElements (Ctx, V, Packed), V);
397
399
}
398
400
// / This version of the method allows an empty list.
399
- LLVM_ABI static StructType *getTypeForElements (Context &Ctx, ArrayRef<Constant *> V,
400
- bool Packed = false );
401
+ LLVM_ABI static StructType *
402
+ getTypeForElements (Context &Ctx, ArrayRef<Constant *> V, bool Packed = false );
401
403
// / Return an anonymous struct type to use for a constant with the specified
402
404
// / set of elements. The list must not be empty.
403
405
static StructType *getTypeForElements (ArrayRef<Constant *> V,
@@ -1061,14 +1063,14 @@ class GlobalWithNodeAPI : public ParentT {
1061
1063
};
1062
1064
1063
1065
// Explicit instantiations.
1064
- extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<GlobalIFunc, llvm::GlobalIFunc, GlobalObject,
1065
- llvm::GlobalObject>;
1066
- extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<Function, llvm::Function, GlobalObject,
1067
- llvm::GlobalObject>;
1068
- extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<GlobalVariable, llvm::GlobalVariable,
1069
- GlobalObject, llvm::GlobalObject>;
1070
- extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<GlobalAlias, llvm::GlobalAlias, GlobalValue,
1071
- llvm::GlobalValue>;
1066
+ extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<
1067
+ GlobalIFunc, llvm::GlobalIFunc, GlobalObject, llvm::GlobalObject>;
1068
+ extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<
1069
+ Function, llvm::Function, GlobalObject, llvm::GlobalObject>;
1070
+ extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<
1071
+ GlobalVariable, llvm::GlobalVariable, GlobalObject, llvm::GlobalObject>;
1072
+ extern template class LLVM_TEMPLATE_ABI GlobalWithNodeAPI<
1073
+ GlobalAlias, llvm::GlobalAlias, GlobalValue, llvm::GlobalValue>;
1072
1074
1073
1075
#if defined(_MSC_VER) && !defined(__clang__)
1074
1076
// These are needed for SandboxIRTest when building with LLVM_BUILD_LLVM_DYLIB
@@ -1382,7 +1384,7 @@ class ConstantPtrAuth final : public Constant {
1382
1384
public:
1383
1385
// / Return a pointer signed with the specified parameters.
1384
1386
LLVM_ABI static ConstantPtrAuth *get (Constant *Ptr, ConstantInt *Key,
1385
- ConstantInt *Disc, Constant *AddrDisc);
1387
+ ConstantInt *Disc, Constant *AddrDisc);
1386
1388
// / The pointer that is signed in this ptrauth signed pointer.
1387
1389
LLVM_ABI Constant *getPointer () const ;
1388
1390
0 commit comments