Enable modernize-deprecated-headers rule in clang-tidy

Summary:
changelog: [internal]

You can find more about this rule on https://releases.llvm.org/6.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html

Reviewed By: ShikaSD

Differential Revision: D33235582

fbshipit-source-id: 28d38b4eab4ad535d87468bc8d64dc87c4b0aeca
This commit is contained in:
Samuel Susla
2021-12-20 11:22:43 -08:00
committed by Facebook GitHub Bot
parent f7c96c000a
commit eb35e4a4f6
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -4,5 +4,6 @@ Checks: '>
clang-diagnostic-*,
modernize-avoid-bind,
modernize-avoid-c-arrays,
modernize-deprecated-headers,
'
...
@@ -6,7 +6,7 @@
*/
#include "utils.h"
#include <math.h>
#include <cmath>
namespace facebook {
namespace react {
@@ -8,7 +8,7 @@
#include <react/renderer/graphics/Transform.h>
#include <gtest/gtest.h>
#include <math.h>
#include <cmath>
using namespace facebook::react;