142ab06ffb2ec286917554aa5d945323a1ebf359 |
|
14-Nov-2013 |
Serge Pavlov <sepavloff@gmail.com> |
Added warning on structures/unions that are empty or contain only bit fields of zero size. Warnings are generated in C++ mode and if only such type is defined inside extern "C" block. The patch fixed PR5065. Differential Revision: http://llvm-reviews.chandlerc.com/D2151 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194653 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/storage-class.cpp
|
c7f811638f8603fa373d2be724e8b1c8ba51ad75 |
|
18-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
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
/external/clang/test/SemaCXX/storage-class.cpp
|
379246d29b1c7ef2659beadf41b4cb79806c0e63 |
|
26-Mar-2011 |
John McCall <rjmccall@apple.com> |
Don't warn about the 'extern' in 'extern "C"' on a tag decl. This is usually useless, but not always. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/storage-class.cpp
|
66dd9394994654b5af2c62ed24f311432bacede5 |
|
22-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
When checking whether to diagnose an initialized "extern" variable, look for the const on the base type rather than on the top-level type. Fixes PR6495 properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/storage-class.cpp
|
63c323d7584e3d91549fae23fb30b426d3b19042 |
|
20-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
Only suppress the "extern variable has an initializer" warning when the extern entity being initialized is const. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/storage-class.cpp
|
41b1d6ba40a5c856f3d0bfed1b825154f87b6127 |
|
19-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
Disable the "'extern' variable has an initializer" warning in C++, since it makes sense there to have const extern variables. Fixes PR6495. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/storage-class.cpp
|