forked from OSchip/llvm-project
[clang-tidy] Fix modernize-use-emplace docs
llvm-svn: 296867
This commit is contained in:
parent
b01bb3a1b2
commit
26e176e558
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue