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

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 08:16:43 PST 2017


tejohnson added inline comments.


================
Comment at: include/llvm-c/lto.h:767
- *    will try to scan the cache directory to prune it from expired entries.
- *    Setting to -1 disable the pruning (default).
  *  - The pruning expiration time indicates to the garbage collector how old an
----------------
tejohnson wrote:
> I prefer leaving a note here about the value -1. You can note that it sets the largest possible pruning interval, effectively disabling it.
actually, a negative value, not just -1.


https://reviews.llvm.org/D41279





More information about the llvm-commits mailing list