From 58c2ac0e4159175a8193b7a164f8c18470882f97 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 3 Oct 2008 22:17:25 +0000 Subject: [PATCH] Change PointerType::get -> getUnqual git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57032 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index ba8a38be9a9..e859098d154 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -1956,7 +1956,7 @@ AllocaInst* instToReplace = ...; BasicBlock::iterator ii(instToReplace); ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii, - Constant::getNullValue(PointerType::get(Type::Int32Ty))); + Constant::getNullValue(PointerType::getUnqual(Type::Int32Ty)));
  • ReplaceInstWithInst @@ -2091,7 +2091,7 @@ To build this, use the following LLVM APIs: // Create the initial outer struct PATypeHolder StructTy = OpaqueType::get(); std::vector<const Type*> Elts; -Elts.push_back(PointerType::get(StructTy)); +Elts.push_back(PointerType::getUnqual(StructTy)); Elts.push_back(Type::Int32Ty); StructType *NewSTy = StructType::get(Elts);