[all-commits] [llvm/llvm-project] c93709: [SmallVector] Fix unit test to eliminate failure w...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Mon Apr 3 18:02:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c93709af9a23dde2f1f01fb4dac83a767ae0854e
https://github.com/llvm/llvm-project/commit/c93709af9a23dde2f1f01fb4dac83a767ae0854e
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M llvm/unittests/ADT/SmallVectorTest.cpp
Log Message:
-----------
[SmallVector] Fix unit test to eliminate failure with -Werror
Commit 475dd6f626ee2679578ed570e9fb78f7e957a36d added
a unit test that compares SmallVector::size() (a size_t
value) against 42 (an int value). That causes failures with
-Werror. This patch just adds the cast to silence the warning.
More information about the All-commits
mailing list