[LLVMdev] [type-system-rewrite][PATCH] de-constify Type* in FunctionType::get()
Jay Foad
jay.foad at gmail.com
Tue Jul 5 02:48:08 PDT 2011
This patch removes the deprecated form of FunctionType::get() which
takes "const Type*"s for the argument types, and replaces just enough
"const Type*" with "Type*" elsewhere to get everything building
cleanly again. (My motivation for this was that I was getting
ambiguous overload errors from some calls to FunctionType::get() in
the Clang source.)
Chris, are you interested in having this committed on the branch?
Thanks,
Jay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deconstify-type.diff
Type: text/x-patch
Size: 39693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110705/d9bb2fa2/attachment.bin>
More information about the llvm-dev
mailing list