Skip to content

Commit

Permalink
Fix .clang-tidy: modernize-use-emplace is added to WarningsAsErrors b…
Browse files Browse the repository at this point in the history
…ut not Checks (Oneflow-Inc#6924)
  • Loading branch information
PragmaTwice authored Dec 5, 2021
1 parent 6305cdb commit ffb2cae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Checks: >-
performance-for-range-copy,
google-default-arguments,
google-global-names-in-headers,
google-explicit-constructor
google-explicit-constructor,
modernize-use-emplace
# TODO: treat all maybe warnings as errors when existing warnings are all fixed
# `clang-analyzer-cplusplus.NewDelete` cannot model reference counting properly for ObjectMsg
Expand Down

0 comments on commit ffb2cae

Please sign in to comment.