r358006 - Fixed comment as pointed out by post-commit review of D59845
Raphael Isemann via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 9 07:18:24 PDT 2019
Author: teemperor
Date: Tue Apr 9 07:18:23 2019
New Revision: 358006
URL: http://llvm.org/viewvc/llvm-project?rev=358006&view=rev
Log:
Fixed comment as pointed out by post-commit review of D59845
Modified:
cfe/trunk/lib/AST/ASTImporter.cpp
Modified: cfe/trunk/lib/AST/ASTImporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTImporter.cpp?rev=358006&r1=358005&r2=358006&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTImporter.cpp (original)
+++ cfe/trunk/lib/AST/ASTImporter.cpp Tue Apr 9 07:18:23 2019
@@ -1947,7 +1947,7 @@ bool ASTNodeImporter::IsStructuralMatch(
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;
More information about the cfe-commits
mailing list