aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorVictor Campos <victor.campos@arm.com>2024-09-25 12:43:41 +0100
committerGitHub <noreply@github.com>2024-09-25 12:43:41 +0100
commit2a29d24ba94dac82e838c694595a0a574e505aab (patch)
tree8c20944d5e3732acc54b20a6f7661270d939b2d8 /clang/lib/CodeGen/ModuleBuilder.cpp
parent9583215d55b639f9fc28400b560f9e66c13db13a (diff)
downloadllvm-2a29d24ba94dac82e838c694595a0a574e505aab.zip
llvm-2a29d24ba94dac82e838c694595a0a574e505aab.tar.gz
llvm-2a29d24ba94dac82e838c694595a0a574e505aab.tar.bz2
[ADT] Use perfect forwarding in SmallSet::insert() (#108590)
Previously this method took arguments by const-ref. This patch changes the implementation to take perfectly forwarded arguments in the form of a universal reference. Now, the insertion method will take advantage of arguments passed as rvalue, potentially leading to performance improvements.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions