mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 14:50:26 +00:00
3204b152b5
If the type isn't trivially moveable emplace can skip a potentially expensive move. It also saves a couple of characters. Call sites were found with the ASTMatcher + some semi-automated cleanup. memberCallExpr( argumentCountIs(1), callee(methodDecl(hasName("push_back"))), on(hasType(recordDecl(has(namedDecl(hasName("emplace_back")))))), hasArgument(0, bindTemporaryExpr( hasType(recordDecl(hasNonTrivialDestructor())), has(constructExpr()))), unless(isInTemplateInstantiation())) No functional change intended. llvm-svn: 238601 |
||
---|---|---|
.. | ||
ABITest | ||
analyzer | ||
check_cfc | ||
CIndex | ||
TableGen | ||
TestUtils | ||
valgrind | ||
VtableTest | ||
builtin-defines.c | ||
CaptureCmd | ||
clang-completion-mode.el | ||
clang.natvis | ||
ClangDataFormat.py | ||
CmpDriver | ||
find-unused-diagnostics.sh | ||
FindSpecRefs | ||
FuzzTest | ||
token-delta.py |