This is an archive of the discontinued LLVM Phabricator instance.

[ASTImporter] Remove duplicated and dead CXXNamedCastExpr handling code.
ClosedPublic

Authored by teemperor on Aug 22 2018, 10:39 AM.

Details

Summary

CXXNamedCastExpr importing is already handled in the respective VisitCXXNamedCastExpr method.
So this code here can never be reached under normal circumstances and we might as well remove it.

This patch shouldn't change any observable behavior of the ASTImporter.

Diff Detail