Commit 9a898fe
committed
[CodeGen] Use DenseMap::try_emplace (NFC)
We can simplify the code with DenseMap::try_emplace and structured
binding. Note that DenseMap::try_emplace default-constructs the value
if omitted.1 parent 465e0da commit 9a898fe
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1818 | 1818 | | |
1819 | 1819 | | |
1820 | 1820 | | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
| 1821 | + | |
1824 | 1822 | | |
1825 | 1823 | | |
1826 | 1824 | | |
| |||
2036 | 2034 | | |
2037 | 2035 | | |
2038 | 2036 | | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
| 2037 | + | |
2043 | 2038 | | |
2044 | 2039 | | |
2045 | 2040 | | |
| |||
0 commit comments