[llvm] r225727 - IR: Unbreak the MSVC build after r225689

Duncan P. N. Exon Smith dexonsmith at apple.com
Wed Jan 14 15:14:07 PST 2015


Fixed in r226058; thanks!

> On 2015-Jan-14, at 09:55, Toma Tabacu <toma.tabacu at imgtec.com> wrote:
> 
> Hello,
> 
> Did you mean to write "alternative", not "alternaive", in the comment ?
> 
> Regards,
> Toma Tabacu
> 
> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Duncan P. N. Exon Smith
> Sent: 12 January 2015 23:09
> To: llvm-commits at cs.uiuc.edu
> Subject: [llvm] r225727 - IR: Unbreak the MSVC build after r225689
> 
> Author: dexonsmith
> Date: Mon Jan 12 17:09:14 2015
> New Revision: 225727
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=225727&view=rev
> Log:
> IR: Unbreak the MSVC build after r225689
> 
> Modified:
>    llvm/trunk/include/llvm/IR/Metadata.h
> 
> Modified: llvm/trunk/include/llvm/IR/Metadata.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Metadata.h?rev=225727&r1=225726&r2=225727&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/Metadata.h (original)
> +++ llvm/trunk/include/llvm/IR/Metadata.h Mon Jan 12 17:09:14 2015
> @@ -826,7 +826,9 @@ class MDNodeFwdDecl : public MDNode, Rep
> 
> public:
>   ~MDNodeFwdDecl() { dropAllReferences(); }
> -  using MDNode::operator delete;
> +
> +  // MSVC doesn't seem to see the alternaive: "using MDNode::operator delete".
> +  void operator delete(void *Mem) { MDNode::operator delete(Mem); }
> 
>   static MDNodeFwdDecl *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
>     return new (MDs.size()) MDNodeFwdDecl(Context, MDs);
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list