OSDN Git Service

[ThinLTO][C-API] Correct api comments
authorBen Dunbobbin <bd1976llvm@gmail.com>
Tue, 19 Dec 2017 14:49:33 +0000 (14:49 +0000)
committerBen Dunbobbin <bd1976llvm@gmail.com>
Tue, 19 Dec 2017 14:49:33 +0000 (14:49 +0000)
commit0d49e11a1a864b2ae8212b2f5165a06b41f32ce3
tree5affa8a20b987ce8eb206fa34cefccbe3390a006
parent5b5d262052b4f0380c1abbf028144354856b269c
[ThinLTO][C-API] Correct api comments

Negative values never disabled the pruning - they simply set high values for the pruning interval.

The behaviour now is that negative values set the maximum pruning interval (which appears to have been the intention from the start) see https://reviews.llvm.org/D41231.

I have adjusted the comments to reflect this, removed any inaccurate statements, and corrected any typos I spotted in the English.

Differential Revision: https://reviews.llvm.org/D41279

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321078 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/lto.h
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h