summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/pragma_microsoft.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Accept #pragma warning(push, 0) without warningReid Kleckner2013-10-021-1/+1
| | | | | | | | This partially addresses PR17435, but it doesn't actually implement the pragma. If we implement it, we should map levels 1-4 to something like -Wall and level 0 to something like -w. llvm-svn: 191833
* Lex and ignore Microsoft's #pragma warning(...)Reid Kleckner2013-09-131-0/+3
Summary: This fixes PR17145 and avoids unknown pragma warnings. This change does not attempt to map MSVC warning numbers to clang warning flags. Perhaps in the future we will implement a mapping for some common subset of Microsoft warnings, but for now we don't. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1652 llvm-svn: 190726
OpenPOWER on IntegriCloud