diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-19 19:10:30 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-07-20 08:11:19 -0500 |
commit | ed7ade9cfa56acae3c67bdf837dec05555769e3c (patch) | |
tree | 7c92992767bbdbf6df009a804875b2cd807861f8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | cc92212d75dff07644e478c55a6f145c020f6f8e (diff) | |
download | llvm-ed7ade9cfa56acae3c67bdf837dec05555769e3c.zip llvm-ed7ade9cfa56acae3c67bdf837dec05555769e3c.tar.gz llvm-ed7ade9cfa56acae3c67bdf837dec05555769e3c.tar.bz2 |
[libc] Remove global constructor in `getopt` implementation
This file required a global constructor due to copying the file stream
and have a non-constexpr constructor for the wrapper type. Also, I
changes the `opterr` to be a pointer, because it seemed like it wasn't
being set correctly as an externally visibile variable if we just
captured it by value.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D155766
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions