From ea2a5e689754fa5c603aa0d01b6658fbbaf9fe43 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 21 Jun 2016 19:19:31 +0000 Subject: Delete dead code. Found by gcc 6. llvm-svn: 273300 --- clang/lib/AST/ItaniumMangle.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'clang/lib/AST/ItaniumMangle.cpp') diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index bb4039e7f3a..fcce9d23686 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -316,7 +316,6 @@ private: bool mangleSubstitution(TemplateName Template); bool mangleSubstitution(uintptr_t Ptr); - void mangleExistingSubstitution(QualType type); void mangleExistingSubstitution(TemplateName name); bool mangleStandardSubstitution(const NamedDecl *ND); @@ -3875,12 +3874,6 @@ void CXXNameMangler::mangleSeqID(unsigned SeqID) { Out << '_'; } -void CXXNameMangler::mangleExistingSubstitution(QualType type) { - bool result = mangleSubstitution(type); - assert(result && "no existing substitution for type"); - (void) result; -} - void CXXNameMangler::mangleExistingSubstitution(TemplateName tname) { bool result = mangleSubstitution(tname); assert(result && "no existing substitution for template name"); -- cgit v1.2.3