[llvm] f439c71 - [InstrProf][NFC] Fix -Wimplicit-fallthrough warning in InstrProf.cpp after #82711
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 18:21:02 PST 2024
Author: wanglei
Date: 2024-03-06T10:20:30+08:00
New Revision: f439c7137373575b5d8e7a2e7056b8dd59e62a26
URL: https://github.com/llvm/llvm-project/commit/f439c7137373575b5d8e7a2e7056b8dd59e62a26
DIFF: https://github.com/llvm/llvm-project/commit/f439c7137373575b5d8e7a2e7056b8dd59e62a26.diff
LOG: [InstrProf][NFC] Fix -Wimplicit-fallthrough warning in InstrProf.cpp after #82711
Added:
Modified:
llvm/lib/ProfileData/InstrProf.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp
index b9afee413853e6..8cf97fcb1dab57 100644
--- a/llvm/lib/ProfileData/InstrProf.cpp
+++ b/llvm/lib/ProfileData/InstrProf.cpp
@@ -1571,7 +1571,6 @@ size_t Header::size() const {
case 12ull:
return offsetOf(&Header::VTableNamesOffset) +
sizeof(Header::VTableNamesOffset);
- [[fallthrough]];
case 11ull:
[[fallthrough]];
case 10ull:
More information about the llvm-commits
mailing list