diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-05-12 17:44:32 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-05-12 17:44:32 +0000 |
commit | 7a38d75bcd98f8d4e41ec72b813265b77c971f7c (patch) | |
tree | 4cfbe0698836bc8cf2d55d6fe812f4bf190fd053 /llvm/lib/Support/YAMLTraits.cpp | |
parent | ed0577cc6d3a15b4951111e5565a2964b85ab8f4 (diff) | |
download | bcm5719-llvm-7a38d75bcd98f8d4e41ec72b813265b77c971f7c.tar.gz bcm5719-llvm-7a38d75bcd98f8d4e41ec72b813265b77c971f7c.zip |
Revert r237157, "YAML: Fix typos. NFC".
'Iff' isn't a typo, it's a shorthand for 'if and only if'.
llvm-svn: 237160
Diffstat (limited to 'llvm/lib/Support/YAMLTraits.cpp')
-rw-r--r-- | llvm/lib/Support/YAMLTraits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/YAMLTraits.cpp b/llvm/lib/Support/YAMLTraits.cpp index 6721b1118fe..8ef36a33280 100644 --- a/llvm/lib/Support/YAMLTraits.cpp +++ b/llvm/lib/Support/YAMLTraits.cpp @@ -75,7 +75,7 @@ bool Input::setCurrentDocument() { if (DocIterator != Strm->end()) { Node *N = DocIterator->getRoot(); if (!N) { - assert(Strm->failed() && "Root is NULL if parsing failed"); + assert(Strm->failed() && "Root is NULL iff parsing failed"); EC = make_error_code(errc::invalid_argument); return false; } @@ -102,7 +102,7 @@ bool Input::mapTag(StringRef Tag, bool Default) { // If no tag found and 'Tag' is the default, say it was found. return Default; } - // Return true if found tag matches supplied tag. + // Return true iff found tag matches supplied tag. return Tag.equals(foundTag); } |