diff options
author | Piotr Padlewski <piotr.padlewski@gmail.com> | 2017-03-03 12:42:22 +0000 |
---|---|---|
committer | Piotr Padlewski <piotr.padlewski@gmail.com> | 2017-03-03 12:42:22 +0000 |
commit | 26e176e5589b1ff670e66f5cbed09103532aa9ae (patch) | |
tree | c57054085c98c023a4007ea267b3064c1e3be681 | |
parent | b01bb3a1b2529981f784a8044b9d997bebf58fb7 (diff) | |
download | bcm5719-llvm-26e176e5589b1ff670e66f5cbed09103532aa9ae.tar.gz bcm5719-llvm-26e176e5589b1ff670e66f5cbed09103532aa9ae.zip |
[clang-tidy] Fix modernize-use-emplace docs
llvm-svn: 296867
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst index cc1eb60d1ee..3420bf21bca 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-emplace.rst @@ -36,7 +36,7 @@ After: std::vector<std::pair<int, int>> w; w.emplace_back(21, 37); - // This will be fixed to w.push_back(21, 37); in next version + // This will be fixed to w.emplace_back(21L, 37L); in next version w.emplace_back(std::make_pair(21L, 37L); The other situation is when we pass arguments that will be converted to a type |