summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chih-Hung Hsieh <chh@google.com> 2022-09-19 15:13:36 -0700
committer Chih-Hung Hsieh <chh@google.com> 2022-09-19 15:13:36 -0700
commita602a8b12c6805f245b192eed3b093ff0bee46db (patch)
tree2c1c8e8eb4410952c4b3289bb4b420a619168edd
parent7aab6bbe3d4204788e5d239d9707579b89a8a70a (diff)
Allow modernize-use-emplace warnings
Bug: 247585041 Test: presubmit Test: lunch aosp_cf_arm64_only_phone_hwasan-userdebug; Test: make tidy-frameworks-base-cmds-idmap2_subset Change-Id: I2cd78fddb330c3fda3bbb88c2470dfb8b51ea4cf
-rw-r--r--cmds/idmap2/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp
index 6ef6845c75f2..aa2113f931c3 100644
--- a/cmds/idmap2/Android.bp
+++ b/cmds/idmap2/Android.bp
@@ -41,6 +41,7 @@ cc_defaults {
"-modernize-return-braced-init-list",
"-modernize-use-default-member-init",
"-modernize-use-equals-default",
+ "-modernize-use-emplace",
"-modernize-use-nodiscard",
"-modernize-use-override",
"-modernize-use-trailing-return-type",