llvm-project/llvm/tools/llvm-ifs
Angelo Matni ccde601f14 Fix llvm/lib/ObjCopy, llvm/llvm-ifs: c++20 compatibility
Cleanup: avoid referring to `std::vector<T>` members when `T` is incomplete.

This is [not legal](https://timsong-cpp.github.io/cppwp/n4868/vector#overview-4)
according to the C++ standard, and causes build errors in particular in C++20
mode. Fix it by defining the vector's type before using the vector.

Reviewed By: saugustine, MaskRay

Differential Revision: https://reviews.llvm.org/D135906
2022-10-14 10:28:46 -07:00
..
CMakeLists.txt [llvm-driver] Add various tools to the llvm-driver 2022-10-06 05:16:13 +00:00
ErrorCollector.cpp [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
ErrorCollector.h Fix llvm/lib/ObjCopy, llvm/llvm-ifs: c++20 compatibility 2022-10-14 10:28:46 -07:00
Opts.td [ifs] Switch to using OptTable 2022-05-20 15:29:05 +00:00
llvm-ifs.cpp Fix d5090cd94, MSVC mangling issue 2022-10-06 05:24:45 +00:00