Skip to content
Commit 6bf02820 authored by David Majnemer's avatar David Majnemer
Browse files

[MSVC Compat] Permit conversions from pointer-to-function to pointer-to-object...

[MSVC Compat] Permit conversions from pointer-to-function to pointer-to-object iff -fms-compatibility

We permit implicit conversion from pointer-to-function to
pointer-to-object when -fms-extensions is specified.  This is rather
unfortunate, move this into -fms-compatibility and only permit it within
system headers unless -Wno-error=microsoft-cast is specified.

llvm-svn: 251738
parent 3817486c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment