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:
9b64c51
)
Fix unused variable warning. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 22 Sep 2017 16:26:17 +0000
(16:26 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Fri, 22 Sep 2017 16:26:17 +0000
(16:26 +0000)
llvm-svn: 313991
clang/lib/AST/ItaniumMangle.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/ItaniumMangle.cpp
b/clang/lib/AST/ItaniumMangle.cpp
index
ef54ad5
..
5ce5217
100644
(file)
--- a/
clang/lib/AST/ItaniumMangle.cpp
+++ b/
clang/lib/AST/ItaniumMangle.cpp
@@
-1698,8
+1698,7
@@
void CXXNameMangler::mangleLambda(const CXXRecordDecl *Lambda) {
= cast<NamedDecl>(Context)->getIdentifier()) {
mangleSourceName(Name);
const TemplateArgumentList *TemplateArgs = nullptr;
- if (const TemplateDecl *TD =
- isTemplate(cast<NamedDecl>(Context), TemplateArgs))
+ if (isTemplate(cast<NamedDecl>(Context), TemplateArgs))
mangleTemplateArgs(*TemplateArgs);
Out << 'M';
}