]> granicus.if.org Git - clang/commitdiff
Fixed comment as pointed out by post-commit review of D59845
authorRaphael Isemann <teemperor@gmail.com>
Tue, 9 Apr 2019 14:18:23 +0000 (14:18 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 9 Apr 2019 14:18:23 +0000 (14:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358006 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTImporter.cpp

index f6e25dd8a2ae686c69da40f25ad00a78ec573da6..db956561e934631ca3cc6f28784f301aab849233 100644 (file)
@@ -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;