summaryrefslogtreecommitdiffstats
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
commit40c15abe5fa31468f3ccc5c4439d29bb5e2e8c71 (patch)
treeb5fd3d7d04008736f120668a640170212a736da0
parente8fa5ae589eac9746e6d82316738a015db0fb7a0 (diff)
downloadbcm5719-llvm-40c15abe5fa31468f3ccc5c4439d29bb5e2e8c71.tar.gz
bcm5719-llvm-40c15abe5fa31468f3ccc5c4439d29bb5e2e8c71.zip
Fix spelling mistake.
llvm-svn: 285938
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp
index 6e715d25b4d..96b45d17d1c 100644
--- a/clang/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/clang/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()) {
OpenPOWER on IntegriCloud