summaryrefslogtreecommitdiffstats
path: root/lib/Sema/SemaTemplateInstantiate.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-11-03 17:11:28 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-11-03 17:11:28 +0000
commit398d04c1ebdd8d9f5fdf3690c288106ee87bbc99 (patch)
treee6fdb89efe9532457e3581256ce7cab86bbbe96b /lib/Sema/SemaTemplateInstantiate.cpp
parent13730b3c9ca57a552cdaa361132318a162316c05 (diff)
Fix spelling mistake.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp
index 6e715d25b4..96b45d17d1 100644
--- a/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -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()) {