diff options
Diffstat (limited to 'llvm/unittests/ProfileData/InstrProfTest.cpp')
-rw-r--r-- | llvm/unittests/ProfileData/InstrProfTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index 6f11a2e62622..86a049223eeb 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -23,7 +23,7 @@ using namespace llvm; -LLVM_NODISCARD static ::testing::AssertionResult +[[nodiscard]] static ::testing::AssertionResult ErrorEquals(instrprof_error Expected, Error E) { instrprof_error Found; std::string FoundMsg; |