]> granicus.if.org Git - clang/commitdiff
Fix spelling mistake.
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 3 Nov 2016 17:11:28 +0000 (17:11 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 3 Nov 2016 17:11:28 +0000 (17:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285938 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaTemplateInstantiate.cpp

index 6e715d25b4ddef77e1ba3721cd6da42706f36746..96b45d17d1c7149f97ef891aa5c8ca62efb6c329 100644 (file)
@@ -210,7 +210,7 @@ Sema::InstantiatingTemplate::InstantiatingTemplate(
     : SemaRef(SemaRef), SavedInNonInstantiationSFINAEContext(
                             SemaRef.InNonInstantiationSFINAEContext) {
   // Don't allow further instantiation if a fatal error and an uncompilable
-  // error have occcured. Any diagnostics we might have raised will not be
+  // error have occurred. Any diagnostics we might have raised will not be
   // visible, and we do not need to construct a correct AST.
   if (SemaRef.Diags.hasFatalErrorOccurred() &&
       SemaRef.Diags.hasUncompilableErrorOccurred()) {