[Analyzers][CPP]Turn on warning 26466 (#22639)

* Turn on warning 26466

* changes from comments
This commit is contained in:
sosssego
2023-01-03 09:19:07 -03:00
committed by GitHub
parent 6287460614
commit b1c535a2ce
17 changed files with 76 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
#include "pch.h"
#include "CppUnitTest.h"
#include <PowerRenameInterfaces.h>
#include <PowerRenameManager.h>
#include <PowerRenameItem.h>

View File

@@ -1,5 +1,4 @@
#include "pch.h"
#include "CppUnitTest.h"
#include "powerrename/lib/Settings.h"
#include <PowerRenameInterfaces.h>
#include <PowerRenameRegEx.h>

View File

@@ -1,5 +1,4 @@
#include "pch.h"
#include "CppUnitTest.h"
#include "powerrename/lib/Settings.h"
#include <PowerRenameInterfaces.h>
#include <PowerRenameRegEx.h>

View File

@@ -5,4 +5,9 @@
#include <atlbase.h>
// Headers for CppUnitTest
// Suppressing 26466 - Don't use static_cast downcasts - in CppUnitTest.h
#pragma warning(push)
#pragma warning(disable : 26466)
#include "CppUnitTest.h"
#pragma warning(pop)