summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/warn-macro-unused.c
Commit message (Collapse)AuthorAgeFilesLines
* Split isFromMainFile into two functions.Eli Friedman2013-08-221-0/+4
| | | | | | | | | 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
* Reenable test.Argyrios Kyrtzidis2011-07-111-1/+0
| | | | llvm-svn: 134928
* Test is broken; XFAIL it until Argyrios gets a chance to look at it.Eli Friedman2011-07-111-0/+1
| | | | llvm-svn: 134925
* Don't warn for unused macro when undef'ing it, if it comes from an included ↵Argyrios Kyrtzidis2011-07-111-0/+5
| | | | | | file. rdar://9745065 llvm-svn: 134919
* When redefining a macro don't warn twice if it's not used and don't warn for ↵Argyrios Kyrtzidis2011-01-181-0/+5
duplicate definition by command line options. Fixes rdar://8875916. llvm-svn: 123767
OpenPOWER on IntegriCloud