Skip to content

Commit bc77542

Browse files
committed
[Clang][TableGen] Use PointerType::get(Context) in MVE TableGen emitter
Follow-up to #123569
1 parent c0861e9 commit bc77542

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(" + Pointee->llvmName() + ")";
213+
return "llvm::PointerType::getUnqual(CGM.getLLVMContext())";
214214
}
215215
const Type *getPointeeType() const { return Pointee; }
216216

0 commit comments

Comments
 (0)