]> granicus.if.org Git - clang/commit
Fix various problems with matching out-of-line definitions of static
authorDouglas Gregor <dgregor@apple.com>
Wed, 11 Mar 2009 23:52:16 +0000 (23:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 11 Mar 2009 23:52:16 +0000 (23:52 +0000)
commit656de633acefb7ced01a4b573dbd4f70b4300097
tree5970f406f2b7e57b1e365d4b1d667bb16a33bcc4
parentd3ad531dd43ddf11fdb32deb112e0f116296c693
Fix various problems with matching out-of-line definitions of static
class members to the corresponding in-class declaration.

Diagnose the erroneous use of 'static' on out-of-line definitions of
class members.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66740 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.def
lib/Sema/SemaDecl.cpp
test/SemaCXX/nested-name-spec.cpp
test/SemaTemplate/nested-name-spec-template.cpp