]> granicus.if.org Git - llvm/commit
Merging r229529:
authorHans Wennborg <hans@hanshq.net>
Tue, 17 Feb 2015 22:11:36 +0000 (22:11 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 17 Feb 2015 22:11:36 +0000 (22:11 +0000)
commit1f633d6ce3d4acacc9d6f3914d5e9eaa9fc35a7b
treef9d752a548e594ad855e3dcbd0209fad7fc2a121
parent65233563b74fb416910ead3a51774c936561ef26
Merging r229529:
------------------------------------------------------------------------
r229529 | rnk | 2015-02-17 12:02:34 -0800 (Tue, 17 Feb 2015) | 8 lines

Expose LLVM_VERSION_PATCH in llvm-config.h

There was no reason to keep this private in config.h, and users
requested that it be available in PR22615.

Also fix a bug where patch versions of '0' would cause the macro to
remain undefined. The "#cmakedefine" command only creates a macro if the
named variable would be considered true in the context of an if().
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@229567 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Config/config.h.cmake
include/llvm/Config/llvm-config.h.cmake
include/llvm/Config/llvm-config.h.in