Skip to content

Commit

Permalink
Fixed comment as pointed out by post-commit review of D59845
Browse files Browse the repository at this point in the history
llvm-svn: 358006
  • Loading branch information
Teemperor committed Apr 9, 2019
1 parent f62dcea commit fa26c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/ASTImporter.cpp
Expand Up @@ -1947,7 +1947,7 @@ bool ASTNodeImporter::IsStructuralMatch(VarDecl *FromVar, VarDecl *ToVar,

bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) {
// Eliminate a potential failure point where we attempt to re-import
// something we're trying to import while completin ToEnum
// something we're trying to import while completing ToEnum.
if (Decl *ToOrigin = Importer.GetOriginalDecl(ToEnum))
if (auto *ToOriginEnum = dyn_cast<EnumDecl>(ToOrigin))
ToEnum = ToOriginEnum;
Expand Down

0 comments on commit fa26c20

Please sign in to comment.