]> granicus.if.org Git - clang/commit
Make a first pass at implementing -Wglobal-constructors. I'm worried that this
authorJohn McCall <rjmccall@apple.com>
Sun, 1 Aug 2010 20:20:59 +0000 (20:20 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 1 Aug 2010 20:20:59 +0000 (20:20 +0000)
commit626e96e2874698a6736fd33672fa9c28da91d77e
treeeda9946bec66ba3c531df90b2ac3eb9045e7d5f0
parent1d8d1ccd36888f1120b3a1df9e76f35dc2edb81d
Make a first pass at implementing -Wglobal-constructors.  I'm worried that this
will end up bizarrely mirroring CGExprConstant, but that might be the hazard of
this feature.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109984 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/warn-global-constructors.cpp [new file with mode: 0644]