]> granicus.if.org Git - llvm/commit
[Remarks] Use StringRef::contains to avoid differences in error string
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 16 Oct 2019 16:18:12 +0000 (16:18 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 16 Oct 2019 16:18:12 +0000 (16:18 +0000)
commite171bc8ce4a5c828c7e574ee0e3b5a2677c87cb7
tree6495a4e9f541350c48937612a888c4ee53a9d682
parent0205139561157b24e7218d226c4c7a6d9e0f5dee
[Remarks] Use StringRef::contains to avoid differences in error string

Different OSs have different error strings:

http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/39534/steps/ninja%20check%201/logs/FAIL%3A%20LLVM-Unit%3A%3AYAMLRemarks.ParsingBadMeta

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375011 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Remarks/YAMLRemarksParsingTest.cpp