Author: vedantk Date: Tue Oct 18 13:19:02 2016 New Revision: 284510 URL: http://llvm.org/viewvc/llvm-project?rev=284510&view=rev Log: Drop a redundant ".get()" call (NFC)
Pointed out by Malcolm Parsons. Modified: cfe/trunk/lib/Basic/SourceManager.cpp Modified: cfe/trunk/lib/Basic/SourceManager.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceManager.cpp?rev=284510&r1=284509&r2=284510&view=diff ============================================================================== --- cfe/trunk/lib/Basic/SourceManager.cpp (original) +++ cfe/trunk/lib/Basic/SourceManager.cpp Tue Oct 18 13:19:02 2016 @@ -1938,7 +1938,7 @@ SourceManager::getMacroArgExpandedLocati std::unique_ptr<MacroArgsMap> &MacroArgsCache = MacroArgsCacheMap[FID]; if (!MacroArgsCache) { MacroArgsCache = llvm::make_unique<MacroArgsMap>(); - computeMacroArgsCache(*MacroArgsCache.get(), FID); + computeMacroArgsCache(*MacroArgsCache, FID); } assert(!MacroArgsCache->empty()); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits