projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652ede6
)
Drop a redundant ".get()" call (NFC)
author
Vedant Kumar
<vsk@apple.com>
Tue, 18 Oct 2016 18:19:02 +0000
(18:19 +0000)
committer
Vedant 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
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/SourceManager.cpp
b/clang/lib/Basic/SourceManager.cpp
index
4727b56
..
380ca37
100644
(file)
--- a/
clang/lib/Basic/SourceManager.cpp
+++ b/
clang/lib/Basic/SourceManager.cpp
@@
-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());