[all-commits] [llvm/llvm-project] c2b7e4: Rewrite test not to rely on StrEq with StringRef
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Wed Jan 29 12:43:17 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c2b7e4e88a1a19b2a51f120716118aad130f4279
https://github.com/llvm/llvm-project/commit/c2b7e4e88a1a19b2a51f120716118aad130f4279
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M mlir/unittests/TableGen/EnumsGenTest.cpp
Log Message:
-----------
Rewrite test not to rely on StrEq with StringRef
StrEq has some magic inside that should do the explicit conversion from
StringRef to std::string, but apparently this doesn't work with GCC 5.
Just use EXPECT_EQ, it does the same thing with less magic.
More information about the All-commits
mailing list