Skip to content

Commit a6b8da7

Browse files
committed
[nfc] Remove unneeded void cast of clangDC.
This is just a simple cleanup.
1 parent 8474332 commit a6b8da7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/AST/ASTMangler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,6 @@ ASTMangler::getSpecialManglingContext(const ValueDecl *decl,
18161816
if (isa<clang::NamespaceDecl>(clangDC)) return None;
18171817
assert(clangDC->getRedeclContext()->isTranslationUnit() &&
18181818
"non-top-level Clang types not supported yet");
1819-
(void)clangDC;
18201819
return ASTMangler::ObjCContext;
18211820
}
18221821
}

0 commit comments

Comments
 (0)