John McCall
|
4d55f5a893
|
Don't warn about the 'extern' in 'extern "C"' on a tag decl. This is
usually useless, but not always.
llvm-svn: 128326
|
2011-03-26 02:09:52 +00:00 |
Douglas Gregor
|
fceea36501
|
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.
llvm-svn: 102066
|
2010-04-22 14:36:26 +00:00 |
Douglas Gregor
|
f4cd8f4ece
|
Only suppress the "extern variable has an initializer" warning when the extern entity being initialized is const.
llvm-svn: 101821
|
2010-04-19 22:34:40 +00:00 |
Douglas Gregor
|
c81ca09830
|
Disable the "'extern' variable has an initializer" warning in C++,
since it makes sense there to have const extern variables. Fixes
PR6495.
llvm-svn: 101818
|
2010-04-19 21:31:25 +00:00 |