aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetOptionsImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-06-06 23:49:05 -0700
committerGitHub <noreply@github.com>2024-06-06 23:49:05 -0700
commitb7d976d4e520a7acba71e006e1518d147a862138 (patch)
treea62527379ed40361ac0e1b076a9fb95450875eb2 /llvm/lib/CodeGen/TargetOptionsImpl.cpp
parentc007883f0286a314eb69976ad14da2bce988fb55 (diff)
downloadllvm-b7d976d4e520a7acba71e006e1518d147a862138.zip
llvm-b7d976d4e520a7acba71e006e1518d147a862138.tar.gz
llvm-b7d976d4e520a7acba71e006e1518d147a862138.tar.bz2
[memprof] Use std::move in ContextEdge::ContextEdge (NFC) (#94687)
Since the constructor of ContextEdge takes ContextIds by value, we should move it to the corresponding member variable as suggested by clang-tidy's performance-unnecessary-value-param. While we are at it, this patch updates a couple of callers. To avoid the ambiguity in the evaluation order among the constructor arguments, I'm calling computeAllocType before calling the constructor.
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
0 files changed, 0 insertions, 0 deletions