commit | 8db33686226148ff5f2bb11fc8b3a21aeec36efd | [log] [tgz] |
---|---|---|
author | Ben Langmuir <ben.langmuir@gmail.com> | Fri May 18 19:39:07 2018 -0700 |
committer | GitHub <noreply@github.com> | Fri May 18 19:39:07 2018 -0700 |
tree | a12f4ff12ca0735b75531ad126eb0b23aa1e004f | |
parent | 54e652fcaa1e0dbeee726f248c839b329b961a33 [diff] | |
parent | 3fa2df68e32a09135de9c991fd067ec0c5270c6c [diff] |
Merge pull request #16734 from benlangmuir/san-split [sourcekit test] Split -sanitizer= test out and add REQUIRES
diff --git a/lib/Markup/LineList.cpp b/lib/Markup/LineList.cpp index 00b5de9..0afeb5e 100644 --- a/lib/Markup/LineList.cpp +++ b/lib/Markup/LineList.cpp
@@ -25,7 +25,7 @@ return ""; auto FirstLine = Lines.begin(); - while (FirstLine->Text.empty() && FirstLine != Lines.end()) + while (FirstLine != Lines.end() && FirstLine->Text.empty()) ++FirstLine; if (FirstLine == Lines.end())