[PATCH] D72703: Add a warning, flags and pragmas to limit the number of pre-processor tokens in a translation unit
Kim Gräsman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 21 23:04:00 PST 2020
kimgr added a comment.
I just want to say that finding the correlation between token count and compile time is a bit of a breakthrough! Could you expose a flag for printing token count so users can run their own analysis? Or does that already exist in baseline clang? It's easier to set a maximum for a codebase if the distribution is known.
Thanks!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72703/new/
https://reviews.llvm.org/D72703
More information about the cfe-commits
mailing list