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) {
12011201}
12021202
12031203SymbolID SymbolCollector::getSymbolIDCached (const Decl *D) {
1204- auto It = DeclToIDCache.try_emplace (D, SymbolID{} );
1204+ auto It = DeclToIDCache.try_emplace (D);
12051205 if (It.second )
12061206 It.first ->second = getSymbolID (D);
12071207 return It.first ->second ;
@@ -1210,7 +1210,7 @@ SymbolID SymbolCollector::getSymbolIDCached(const Decl *D) {
12101210SymbolID SymbolCollector::getSymbolIDCached (const llvm::StringRef MacroName,
12111211 const MacroInfo *MI,
12121212 const SourceManager &SM) {
1213- auto It = MacroToIDCache.try_emplace (MI, SymbolID{} );
1213+ auto It = MacroToIDCache.try_emplace (MI);
12141214 if (It.second )
12151215 It.first ->second = getSymbolID (MacroName, MI, SM);
12161216 return It.first ->second ;
You can’t perform that action at this time.
0 commit comments