[PATCH] D135045: [Frontend] Recognize environment variable SOURCE_DATE_EPOCH

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 2 17:33:44 PDT 2022


MaskRay updated this revision to Diff 464581.
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added a reviewer: ctetreau.

https://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros says

> We missed out __TIMESTAMP__ by mistake, but we will probably send in another patch to GCC to fix that.

Let Clang update `__TIMESTAMP__` as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135045/new/

https://reviews.llvm.org/D135045

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticFrontendKinds.td
  clang/include/clang/Lex/PreprocessorOptions.h
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Lex/PPMacroExpansion.cpp
  clang/test/Preprocessor/SOURCE_DATE_EPOCH.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135045.464581.patch
Type: text/x-patch
Size: 6539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221003/87f5b8aa/attachment.bin>


More information about the cfe-commits mailing list