diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-10-08 22:45:29 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-10-08 22:45:29 +0000 |
| commit | 5dbed6674bda07dd147183932bc843c52205633f (patch) | |
| tree | 8ee338418422caa0598e1cdb49fcd744096b2652 /lib/CodeGen/CodeGenModule.h | |
| parent | 3cb333070d35c9a6843e4211c9a74322f6c126ec (diff) | |
| download | clang-5dbed6674bda07dd147183932bc843c52205633f.tar.gz clang-5dbed6674bda07dd147183932bc843c52205633f.tar.bz2 clang-5dbed6674bda07dd147183932bc843c52205633f.tar.xz | |
-Wmicrosoft: Don't warn on non-inline pure virtual method definitions
MSVC and clang with -fms-extensions allow pure virtual methods to be
defined inline after the "= 0" tokens. Clang warns on these because it
is not standard, but incorrectly warns on out-of-line definitions, which
are standard.
With this change, clang will only warn on inline definitions of pure
virtual methods.
Fixes some self-host warnings on out-of-line definitions of pure virtual
destructors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
