Skip to content

Commit 2bca977

Browse files
committed
[Clang][TableGen] Switch to Builder.getPtrTy()
1 parent bc77542 commit 2bca977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/utils/TableGen/MveEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class PointerType : public Type {
210210
return Name + " *";
211211
}
212212
std::string llvmName() const override {
213-
return "llvm::PointerType::getUnqual(CGM.getLLVMContext())";
213+
return "llvm::PointerType::getUnqual(Builder.getPtrTy())";
214214
}
215215
const Type *getPointeeType() const { return Pointee; }
216216

0 commit comments

Comments
 (0)