aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Option.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
commit94ff8e1f57c6382d91d0de981a4f311509d83e37 (patch)
treeeb4d5bfaa1d965936217836ef85abf9e146baab7 /lib/Driver/Option.cpp
parent7836011482bc26dfebf15df4fd993d07b607fbcf (diff)
Fix a typo 'iff' => 'if'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Option.cpp')
-rw-r--r--lib/Driver/Option.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/Option.cpp b/lib/Driver/Option.cpp
index 3be141e61d..6a3418fa17 100644
--- a/lib/Driver/Option.cpp
+++ b/lib/Driver/Option.cpp
@@ -120,7 +120,7 @@ Arg *Option::accept(const ArgList &Args, unsigned &Index) const {
return A;
}
case SeparateClass:
- // Matches iff this is an exact match.
+ // Matches if this is an exact match.
// FIXME: Avoid strlen.
if (getName().size() != strlen(Args.getArgString(Index)))
return 0;
@@ -132,7 +132,7 @@ Arg *Option::accept(const ArgList &Args, unsigned &Index) const {
return new Arg(getUnaliasedOption(),
Index - 2, Args.getArgString(Index - 1));
case MultiArgClass: {
- // Matches iff this is an exact match.
+ // Matches if this is an exact match.
// FIXME: Avoid strlen.
if (getName().size() != strlen(Args.getArgString(Index)))
return 0;