Update to use new PointerType::getUnqual() api.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45081 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CodeGenModule.cpp b/CodeGen/CodeGenModule.cpp
index 2df1877..ea908d3 100644
--- a/CodeGen/CodeGenModule.cpp
+++ b/CodeGen/CodeGenModule.cpp
@@ -75,7 +75,7 @@
   }
   
   // If the pointer type matches, just return it.
-  llvm::Type *PFTy = llvm::PointerType::get(Ty);
+  llvm::Type *PFTy = llvm::PointerType::getUnqual(Ty);
   if (PFTy == F->getType()) return Entry = F;
     
   // If this isn't a definition, just return it casted to the right type.
@@ -132,7 +132,7 @@
   }
   
   // If the pointer type matches, just return it.
-  llvm::Type *PTy = llvm::PointerType::get(Ty);
+  llvm::Type *PTy = llvm::PointerType::getUnqual(Ty);
   if (PTy == GV->getType()) return Entry = GV;
   
   // If this isn't a definition, just return it casted to the right type.