mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
YAML: Fix typos. NFC.
llvm-svn: 237157
This commit is contained in:
parent
56e82e59ff
commit
2cdff95250
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user