We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a475180 commit 9d55e86Copy full SHA for 9d55e86
llvm/lib/ProfileData/MemProfReader.cpp
@@ -63,6 +63,14 @@ template <> struct MappingTraits<memprof::Frame> {
63
static_assert(std::is_same_v<remove_cvref_t<decltype(Column)>, uint32_t>);
64
static_assert(
65
std::is_same_v<remove_cvref_t<decltype(IsInlineFrame)>, bool>);
66
+
67
+ // MSVC issues unused variable warnings despite the uses in static_assert
68
+ // above.
69
+ (void)Function;
70
+ (void)SymbolName;
71
+ (void)LineOffset;
72
+ (void)Column;
73
+ (void)IsInlineFrame;
74
}
75
};
76
0 commit comments