mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
f7c96c000a
commit
eb35e4a4f6
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user