Fix some warnings: extra semicolons, anonymous structs.

This commit is contained in:
John McCall
2017-12-18 15:05:28 -05:00
parent 8e967adc0e
commit 94116347a2
3 changed files with 15 additions and 13 deletions

View File

@@ -134,7 +134,7 @@ protected:
// It is number of type dependent operands + 1.
NumOperands : 32;
template<SILInstructionKind Kind, typename, typename, typename...>
friend class UnaryInstructionWithTypeDependentOperandsBase;
friend class UnaryInstructionWithTypeDependentOperandsBase
);
#define UIWTDOB_BITFIELD(T, U, C, ...) \
@@ -201,13 +201,13 @@ protected:
SWIFT_INLINE_BITFIELD(LoadReferenceInstBaseT, NonValueInstruction, 1,
IsTake : 1;
template<SILInstructionKind K>
friend class LoadReferenceInstBase;
friend class LoadReferenceInstBase
);
SWIFT_INLINE_BITFIELD(StoreReferenceInstBaseT, NonValueInstruction, 1,
IsInitializationOfDest : 1;
template<SILInstructionKind K>
friend class StoreReferenceInstBase;
friend class StoreReferenceInstBase
);
SWIFT_INLINE_BITFIELD(BeginAccessInst, SingleValueInstruction,