aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/warn-missing-variable-declarations.cpp
AgeCommit message (Collapse)Author
2012-10-24Add an additional test for namespaces and -Wmissing-variable-declarations. ↵Eli Friedman
Move C++ test into SemaCXX. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166616 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-23Add a new warning -Wmissing-variable-declarations, to warn about variablesEli Friedman
defined without a previous declaration. This is similar to -Wmissing-prototypes, but for variables instead of functions. Patch by Ed Schouten. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166498 91177308-0d34-0410-b5e6-96231b3b80d8