diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-05-12 17:31:17 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-05-12 17:31:17 +0000 |
commit | f63ddf1d3ad7f87db883119514299638cb054a8d (patch) | |
tree | 5f779fb2ba1be236d75b8bbc06bd82927a362829 /llvm/lib/Support/YAMLTraits.cpp | |
parent | 8c68171fef79b4194ebb639e66eb04ab55f5059f (diff) | |
download | bcm5719-llvm-f63ddf1d3ad7f87db883119514299638cb054a8d.tar.gz bcm5719-llvm-f63ddf1d3ad7f87db883119514299638cb054a8d.zip |
YAML: Fix typos. NFC.
llvm-svn: 237157
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 8ef36a33280..6721b1118fe 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 iff parsing failed"); + assert(Strm->failed() && "Root is NULL if 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 iff found tag matches supplied tag. + // Return true if found tag matches supplied tag. return Tag.equals(foundTag); } |