]> granicus.if.org Git - clang/commit
Reword warning about using a *static* variable within its own initialization.
authorTed Kremenek <kremenek@apple.com>
Sat, 19 Jan 2013 00:49:00 +0000 (00:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 19 Jan 2013 00:49:00 +0000 (00:49 +0000)
commit1bdac1d447f0a9e8db97ed5598d15174bc00e5e1
treef6150482201665c8f5bd4db6fa4b1fa6f44bec1b
parent77fd3c0d7837040bb84c1617a6a423f833e784fe
Reword warning about using a *static* variable within its own initialization.

The warning is still under -Wuninitialized (although technically this
is defined behavior), but under a subgroup -Wstatic-self-init.

This addresses PR 10265.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172878 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp