Commit 7840655
committed
[Analysis] Avoid creating a temporary instance of std::string (NFC)
hasName takes StringRef, so we don't need to create a temporary
instance of std::string.1 parent b5cd8c3 commit 7840655
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| |||
0 commit comments