Drop a redundant ".get()" call (NFC)
authorVedant Kumar <vsk@apple.com>
Tue, 18 Oct 2016 18:19:02 +0000 (18:19 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 18 Oct 2016 18:19:02 +0000 (18:19 +0000)
Pointed out by Malcolm Parsons.

llvm-svn: 284510

clang/lib/Basic/SourceManager.cpp

index 4727b56..380ca37 100644 (file)
@@ -1938,7 +1938,7 @@ SourceManager::getMacroArgExpandedLocation(SourceLocation Loc) const {
   std::unique_ptr<MacroArgsMap> &MacroArgsCache = MacroArgsCacheMap[FID];
   if (!MacroArgsCache) {
     MacroArgsCache = llvm::make_unique<MacroArgsMap>();
-    computeMacroArgsCache(*MacroArgsCache.get(), FID);
+    computeMacroArgsCache(*MacroArgsCache, FID);
   }
 
   assert(!MacroArgsCache->empty());