diff options
author | 2022-06-09 14:46:08 +0000 | |
---|---|---|
committer | 2022-06-20 08:55:03 +0000 | |
commit | 86c4b39d929c37b2899b41c030c9756ea336333f (patch) | |
tree | fc98573796877f6159fe81467943e80df94078cf /compiler/optimizing/optimizing_unit_test.h | |
parent | bc0318ab1496e2468223be3ad76738d7b8ee7579 (diff) |
Fix modernize-use-using clang-tidy issues
All the // NOLINT comments introduced in this CL were meant
to disable only the modernize-use-using checks, but changing
the comment to be // NOLINT(modernize-use-using) as explained
in https://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics
will make cpplint throw an error, as also cpplint uses the
// NOLINT(...) notation to suppress unwanted warnings.
Test: m tidy-art
Test: art/libnativebridge/tests/runtests.sh
Bug: 213953102
Change-Id: I9a992e0f0ecd06f7e64fd0bbf473bec4582370f6
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
-rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index e83688039a..4b3d0abb64 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -559,7 +559,7 @@ class OptimizingUnitTestHelper { class OptimizingUnitTest : public CommonArtTest, public OptimizingUnitTestHelper {}; // Naive string diff data type. -typedef std::list<std::pair<std::string, std::string>> diff_t; +using diff_t = std::list<std::pair<std::string, std::string>>; // An alias for the empty string used to make it clear that a line is // removed in a diff. |