summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorStefanus Du Toit <stefanus.dutoit@rapidmind.com>2013-03-01 21:41:22 +0000
committerStefanus Du Toit <stefanus.dutoit@rapidmind.com>2013-03-01 21:41:22 +0000
commitb33185019401071cebf3c58546fe6bc1b19c6271 (patch)
tree25ae8a4834ebd40491098b310f2f0bf7df7acd0a /clang/lib/Sema/SemaChecking.cpp
parent3cec0108055ffc08a5cbb3e5937e26f17e77db2c (diff)
downloadbcm5719-llvm-b33185019401071cebf3c58546fe6bc1b19c6271.tar.gz
bcm5719-llvm-b33185019401071cebf3c58546fe6bc1b19c6271.zip
Fix typos: [Dd]iagnosic -> [Dd]iagnostic
These all appear in comments or (ironically) diagnostics output. llvm-svn: 176383
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index e0585df9e5d..e9d97913180 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -5689,7 +5689,7 @@ bool Sema::CheckParmsForFunctionDef(ParmVarDecl **P, ParmVarDecl **PEnd,
QualType PType = Param->getOriginalType();
if (const ArrayType *AT = Context.getAsArrayType(PType)) {
if (AT->getSizeModifier() == ArrayType::Star) {
- // FIXME: This diagnosic should point the '[*]' if source-location
+ // FIXME: This diagnostic should point the '[*]' if source-location
// information is added for it.
Diag(Param->getLocation(), diag::err_array_star_in_function_definition);
}
OpenPOWER on IntegriCloud