summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-using-namespace-in-header.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Split isFromMainFile into two functions.Eli Friedman2013-08-221-0/+9
| | | | | | | | | Basically, isInMainFile considers line markers, and isWrittenInMainFile doesn't. Distinguishing between the two is useful when dealing with files which are preprocessed files or rewritten with -frewrite-includes (so we don't, for example, print useless warnings). llvm-svn: 188968
* Delete comment I forgot to delete in my last change.Nico Weber2012-11-051-2/+0
| | | | llvm-svn: 167418
* Use Richard's BE_THE_HEADER trick to simplify a test. No intended behavior ↵Nico Weber2012-11-051-45/+53
| | | | | | change. llvm-svn: 167417
* Make -Wheader-hygiene not complain about USING_NAMESPACE_THROUGH_MACRO in a ↵Nico Weber2011-04-021-0/+27
| | | | | | non-header file. llvm-svn: 128780
* Improve -Wheader-hygiene to warn about using directives inside linkageDouglas Gregor2011-03-261-0/+18
| | | | | | specifications within the global scope, from Elliot Glaysher. llvm-svn: 128352
* Add an opt-in -Wheader-hygiene, which current diagnoses the use ofDouglas Gregor2011-03-181-0/+9
global using directives in C++ headers, from Elliot Glaysher! llvm-svn: 127881
OpenPOWER on IntegriCloud