]> granicus.if.org Git - clang/commit
Extend the tests for -Wmissing-variable-declarations.
authorEd Schouten <ed@nuxi.nl>
Fri, 23 Dec 2016 19:20:07 +0000 (19:20 +0000)
committerEd Schouten <ed@nuxi.nl>
Fri, 23 Dec 2016 19:20:07 +0000 (19:20 +0000)
commit04d0827ce598578a3cd298f2834352198b5c3285
tree651b1eeff6fc46a87f0142bc416d513cdfa8086b
parentd018ab0a692bb12b9b88a24555354d81cdb779dc
Extend the tests for -Wmissing-variable-declarations.

We shouldn't throw a warning when the static keyword is not present in
an anonymous namespace, just like we do for -Wmissing-prototypes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290443 91177308-0d34-0410-b5e6-96231b3b80d8
test/SemaCXX/warn-missing-variable-declarations.cpp