[PATCH] D41279: [ThinLTO][C-API] Correct api comments

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 09:49:03 PST 2017


mehdi_amini added inline comments.


================
Comment at: include/llvm/LTO/legacy/ThinLTOCodeGenerator.h:152
-  /// Cache policy: interval (seconds) between two prune of the cache. Set to a
-  /// negative value (default) to disable pruning. A value of 0 will be ignored.
   void setCachePruningInterval(int Interval) {
----------------
bd1976llvm wrote:
> mehdi_amini wrote:
> > Why are you removing the indication about the default?
> This was the original default but it was changed later and the comment was not updated. See: https://github.com/llvm-mirror/llvm/commit/f4c5ea4908a0d2f1e9adc793b74858dd3c69cc7a.
Ah! Thanks :)


https://reviews.llvm.org/D41279





More information about the llvm-commits mailing list