[AIX] Suppress -Waix-compat warning with SmallVector class
authorJake Egan <Jake.Egan@ibm.com>
Mon, 30 Aug 2021 14:42:59 +0000 (10:42 -0400)
committerJake Egan <Jake.Egan@ibm.com>
Mon, 30 Aug 2021 14:59:47 +0000 (10:59 -0400)
commit57b46056b9435b52028fd96bed43f562be1705fd
tree675db12d3edf41fd65df5d2ce7082ea6d63bc48f
parent2e5c17d19e370c4d4f17ee89ca645113692f5407
[AIX] Suppress -Waix-compat warning with SmallVector class

When building LLVM with Open XL and -Werror is specified, the -Waix-compat warning becomes an error. This patch updates the SmallVector class to suppress the -Waix-compat warning/error on AIX.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D108577
llvm/lib/Support/SmallVector.cpp