From: Alex Lorenz Date: Tue, 12 May 2015 17:31:17 +0000 (+0000) Subject: YAML: Fix typos. NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=99ffa5b71121f27e757ee27533bae83f0a06479e;p=oota-llvm.git YAML: Fix typos. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237157 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/YAMLTraits.cpp b/lib/Support/YAMLTraits.cpp index 8ef36a33280..6721b1118fe 100644 --- a/lib/Support/YAMLTraits.cpp +++ b/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); }