[Analyzers][CPP] Turn on warning 4515 (#22226)

This commit is contained in:
sosssego 2022-11-23 18:35:16 +00:00 committed by GitHub
parent a4c8815913
commit 0ed166eae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 18 deletions

View File

@ -42,7 +42,7 @@
<ClCompile> <ClCompile>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<WarningLevel>Level4</WarningLevel> <WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>26800;28251;6387;4458;4505;4515;4459;4702;6031;6248;26451;28182;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DisableSpecificWarnings>26800;28251;6387;4458;4505;4459;4702;6031;6248;26451;28182;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<DisableAnalyzeExternal >true</DisableAnalyzeExternal> <DisableAnalyzeExternal >true</DisableAnalyzeExternal>
<ExternalWarningLevel>TurnOffAllWarnings</ExternalWarningLevel> <ExternalWarningLevel>TurnOffAllWarnings</ExternalWarningLevel>
<ConformanceMode>false</ConformanceMode> <ConformanceMode>false</ConformanceMode>

View File

@ -9,9 +9,3 @@
#include <TraceLoggingActivity.h> #include <TraceLoggingActivity.h>
#include <wil\common.h> #include <wil\common.h>
#include <wil\result.h> #include <wil\result.h>
namespace winrt
{
using namespace ::winrt;
}

View File

@ -22,8 +22,3 @@
#include <unordered_set> #include <unordered_set>
#include <ShObjIdl.h> #include <ShObjIdl.h>
#include <optional> #include <optional>
namespace winrt
{
using namespace ::winrt;
}

View File

@ -9,9 +9,3 @@
#include <TraceLoggingActivity.h> #include <TraceLoggingActivity.h>
#include <wil\common.h> #include <wil\common.h>
#include <wil\result.h> #include <wil\result.h>
namespace winrt
{
using namespace ::winrt;
}