diff options
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2025-04-23 13:46:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 13:46:06 -0700 |
commit | 112014ba67792e00ff719d640a5fddb79d78674d (patch) | |
tree | 47168d6c795ca0e204b2ad394cf84ec4025f787e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ff36508d2189ca9e414262f2c7a3b3a1d4974108 (diff) | |
download | llvm-112014ba67792e00ff719d640a5fddb79d78674d.zip llvm-112014ba67792e00ff719d640a5fddb79d78674d.tar.gz llvm-112014ba67792e00ff719d640a5fddb79d78674d.tar.bz2 |
[Clang][NFC] Use temporary instead of one use local variable when creating APValue (#137029)
Static analysis flagged this code b/c we should have been using
std::move when passing by value since the value is not used anymore. In
this case the simpler fix is just to use a temporary value as many of
the other cases where we simply use MakeIntValue to then create an
APValue result from it.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions