[llvm-dev] Distinguishing trunk version number from release

Alex Bradbury via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 3 13:37:17 PST 2018


On 3 January 2018 at 21:23, Philip Reames via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On 01/03/2018 12:55 PM, Tom Stellard via llvm-dev wrote:
>>
>> What about adding a define like __clang_svn_revision__ instead?
>
> Another option would be to have the -version output include the svn revision
> by default for dev builds.

As long as it could be done in a way that doesn't trigger a huge
number of build actions, see https://reviews.llvm.org/D37272

Best,

Alex


More information about the llvm-dev mailing list