]> granicus.if.org Git - clang/commit
Add missing diagnostic for a nested-name-specifier on a free-standing type definition...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 18 Mar 2013 22:52:47 +0000 (22:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 18 Mar 2013 22:52:47 +0000 (22:52 +0000)
commitc7f811638f8603fa373d2be724e8b1c8ba51ad75
treed338d2c57d4b01c3e7ce858c1586e6cc9ed5f518
parent0378433dcdf9a5701207c2a592b10da71ad9ba5d
Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177335 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/Basic/DiagnosticCommonKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Parse/ParseTemplate.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
test/CodeGenCXX/debug-info-use-after-free.cpp
test/Misc/warning-flags.c
test/Parser/c11-noreturn.c
test/Parser/cxx-class.cpp
test/Sema/anonymous-struct-union.c
test/Sema/decl-invalid.c
test/Sema/declspec.c
test/Sema/struct-decl.c
test/SemaCXX/anonymous-union.cpp
test/SemaCXX/storage-class.cpp