File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1201,7 +1201,7 @@ void SymbolCollector::addRef(SymbolID ID, const SymbolRef &SR) {
1201
1201
}
1202
1202
1203
1203
SymbolID SymbolCollector::getSymbolIDCached (const Decl *D) {
1204
- auto It = DeclToIDCache.try_emplace (D, SymbolID{} );
1204
+ auto It = DeclToIDCache.try_emplace (D);
1205
1205
if (It.second )
1206
1206
It.first ->second = getSymbolID (D);
1207
1207
return It.first ->second ;
@@ -1210,7 +1210,7 @@ SymbolID SymbolCollector::getSymbolIDCached(const Decl *D) {
1210
1210
SymbolID SymbolCollector::getSymbolIDCached (const llvm::StringRef MacroName,
1211
1211
const MacroInfo *MI,
1212
1212
const SourceManager &SM) {
1213
- auto It = MacroToIDCache.try_emplace (MI, SymbolID{} );
1213
+ auto It = MacroToIDCache.try_emplace (MI);
1214
1214
if (It.second )
1215
1215
It.first ->second = getSymbolID (MacroName, MI, SM);
1216
1216
return It.first ->second ;
You can’t perform that action at this time.
0 commit comments