diff options
author | Ben Langmuir <blangmuir@apple.com> | 2022-10-25 15:12:24 -0700 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2022-10-26 12:42:56 -0700 |
commit | 211f5af38af1810925343bb71d90ca8485e66300 (patch) | |
tree | 0dfe974e89f83dbd9350cc0f5b65ab21eec65bd7 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 126db4674aa54a37af4349d39f22e506b93d15de (diff) | |
download | llvm-211f5af38af1810925343bb71d90ca8485e66300.zip llvm-211f5af38af1810925343bb71d90ca8485e66300.tar.gz llvm-211f5af38af1810925343bb71d90ca8485e66300.tar.bz2 |
[clang] Move getenv call for SOURCE_DATE_EPOCH out of frontend NFC
Move the check for SOURCE_DATE_EPOCH to the driver and use a cc1 option
to pass it to the frontend. This avoids hidden state in the cc1
invocation and makes this env variable behave more like other env
variables that clang handles in the driver.
Differential Revision: https://reviews.llvm.org/D136717
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions