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
4 lines
156 B
C++
4 lines
156 B
C++
// RUN: %clang_cc1 %s -fsyntax-only -std=c++11 -verify -fms-extensions
|
|
|
|
#pragma warning(push, 4_D) // expected-warning {{requires a level between 1 and 4}}
|