MSVC allows extra-qualification on member functions, it lets you repeat
the class name on the method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201918
91177308-0d34-0410-b5e6-
96231b3b80d8
(unsigned)llvm::RoundUpToAlignment(NumBits, 8));
}
/// \brief Gets an llvm type of size NumBytes and alignment 1.
- llvm::Type *CGRecordLowering::getByteArrayType(CharUnits NumBytes) {
+ llvm::Type *getByteArrayType(CharUnits NumBytes) {
assert(!NumBytes.isZero() && "Empty byte arrays aren't allowed.");
llvm::Type *Type = llvm::Type::getInt8Ty(Types.getLLVMContext());
return NumBytes == CharUnits::One() ? Type :