[LLVMdev] RTTI handling
ASomorjai at graphisoft.com
Mon Oct 3 10:47:06 PDT 2011
Apple clang version 3.0 (tags/Apple/clang-211.9) (based on LLVM 3.0svn)
It's part of the Xcode 4.2b7 package.
Shall I try to compile it on my own?
From: John McCall <rjmccall at apple.com<mailto:rjmccall at apple.com>>
Date: Mon, 3 Oct 2011 10:19:04 -0700
To: Ákos Somorjai <asomorjai at graphisoft.com<mailto:asomorjai at graphisoft.com>>
Cc: "llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>" <llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu>>
Subject: Re: [LLVMdev] RTTI handling
On Oct 3, 2011, at 4:42 AM, Somorjai, Akos wrote:
I'm trying to use this warning to check the vtable problem. Here's an example
// Construction / destruction:
AA (constAA&); // Disabled
virtual ~AA ();
And I still get the following warning:
warning: 'AA' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Wweak-vtables,3]
Which version of Clang are you using? Like I said, this warning was still experimental even a few months ago, and it's gotten a lot of attention on ToT. In particular, this case no longer warns.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev