Commit 00f0720
Automerge: [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.1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6147 | 6147 | | |
6148 | 6148 | | |
6149 | 6149 | | |
6150 | | - | |
6151 | | - | |
6152 | | - | |
| 6150 | + | |
| 6151 | + | |
6153 | 6152 | | |
6154 | 6153 | | |
6155 | 6154 | | |
| |||
0 commit comments