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

ben via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 10:15:48 PST 2017


bd1976llvm 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) {
----------------
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.


https://reviews.llvm.org/D41279





More information about the llvm-commits mailing list