summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-09-27 09:57:10 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-09-27 09:57:10 +0000
commita876013dc91bbd6bf4fe37c0d4cc7d1d5f5f4184 (patch)
treedc7a4a2b21e7ad3ba01c2d7383031f9bf1aac7b9 /clang/lib/Sema/SemaDecl.cpp
parentb6879ce94cd24e4d76e60ad52c648edb5af221a5 (diff)
downloadbcm5719-llvm-a876013dc91bbd6bf4fe37c0d4cc7d1d5f5f4184.tar.gz
bcm5719-llvm-a876013dc91bbd6bf4fe37c0d4cc7d1d5f5f4184.zip
Fix a typo 'iff' => 'if'
llvm-svn: 164766
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 01aaf8be323..17db68ed593 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -4799,7 +4799,7 @@ class DifferentNameValidatorCCC : public CorrectionCandidateCallback {
/// or performing typo correction if there are no previous declarations with
/// the same name.
///
-/// Returns a NamedDecl iff typo correction was performed and substituting in
+/// Returns a NamedDecl if typo correction was performed and substituting in
/// the new declaration name does not cause new errors.
static NamedDecl* DiagnoseInvalidRedeclaration(
Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD,
@@ -8237,7 +8237,7 @@ static unsigned getRedeclDiagFromTagKind(TagTypeKind Tag) {
/// \brief Determine if tag kind is a class-key compatible with
/// class for redeclaration (class, struct, or __interface).
///
-/// \returns true iff the tag kind is compatible.
+/// \returns true if the tag kind is compatible.
static bool isClassCompatTagKind(TagTypeKind Tag)
{
return Tag == TTK_Struct || Tag == TTK_Class || Tag == TTK_Interface;
OpenPOWER on IntegriCloud