Commit 6a7551c
committed
[Clang][NFC] Use temporary instead of one use local variable when creating APValue
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 parent d7215c0 commit 6a7551c
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