aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAngelo Matni <angelomatni@google.com>2022-10-14 10:28:46 -0700
committerFangrui Song <i@maskray.me>2022-10-14 10:28:46 -0700
commitccde601f140c79344e67e3a5164524ea3d8f43aa (patch)
tree26c7d00f6c2ba25e77732bfd5f94f1809bbba636 /flang/lib/Frontend/CompilerInvocation.cpp
parentc1909d73372e669a44a2aefe82de873c2161cc44 (diff)
downloadllvm-ccde601f140c79344e67e3a5164524ea3d8f43aa.zip
llvm-ccde601f140c79344e67e3a5164524ea3d8f43aa.tar.gz
llvm-ccde601f140c79344e67e3a5164524ea3d8f43aa.tar.bz2
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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions