[LLVMdev] [llvm-commits] [llvm] r146960 - in /llvm/trunk: include/llvm/ include/llvm/ADT/ include/llvm/Analysis/ include/llvm/CodeGen/ include/llvm/MC/ include/llvm/Object/ include/llvm/TableGen/ include/llvm/Target/ include/llvm/Transforms/Utils/ lib/Anal

David Blaikie dblaikie at gmail.com
Tue Jan 10 00:33:35 PST 2012


On Mon, Dec 19, 2011 at 6:50 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Author: dblaikie
> Date: Mon Dec 19 20:50:00 2011
> New Revision: 146960
>
> URL: http://llvm.org/viewvc/llvm-project?rev=146960&view=rev
> Log:
> Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

So now that I've got Clang & LLVM almost entirely -Wweak-vtables clean
I was wondering:

Where/how could the build configuration be changed to help keep it
that way? (so that anyone building LLVM/Clang with Clang (including
bots) would build with -Wweak-vtables as an error?)

(there are actually a couple of cases still to fix, to be honest -
llvm-tblgen generates some cases and llvm-tblgen's source has a few
where it's redeclaring core LLVM types itself & making them
header-only)

- David



More information about the llvm-dev mailing list