[PATCH] D23934: Add a -ffixed-date-time= flag that sets the initial value of __DATE__, __TIME__, __TIMESTAMP__
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 15:23:18 PST 2018
efriedma added inline comments.
================
Comment at: lib/Frontend/CompilerInvocation.cpp:2252
+ TM.tm_isdst = -1;
+ mktime(&TM);
+ Opts.FixedDateTime = TM;
----------------
Does using mktime like this depend on the local timezone?
https://reviews.llvm.org/D23934
More information about the cfe-commits
mailing list