Skip to content

Commit 0909f04

Browse files
committed
IR2VecTest.cpp: Suppress a warning. [-Wunused-const-variable]
1 parent 852f40f commit 0909f04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Analysis/IR2VecTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ TEST_F(IR2VecTestFixture, GetFunctionVector_FlowAware) {
431431
}
432432

433433
static constexpr unsigned MaxOpcodes = Vocabulary::MaxOpcodes;
434+
[[maybe_unused]]
434435
static constexpr unsigned MaxTypeIDs = Vocabulary::MaxTypeIDs;
435436
static constexpr unsigned MaxCanonicalTypeIDs = Vocabulary::MaxCanonicalTypeIDs;
436437
static constexpr unsigned MaxOperands = Vocabulary::MaxOperandKinds;

0 commit comments

Comments
 (0)