Hello,

The CMake build doesn't generate SVNVersion.inc correctly, it mixes up
*_REPOSITORY and *_VERSION and doesn't even generate *_REPOSITORY.

The consequence of this is that clang/Basic/Version.h/.cpp returns
incorrect results for clang::get*Revision and
clang::get*RepositoryPath.

Attached are two patches, one for LLVM and one for Clang, to fix this.
I don't have commit access and I'm not subscribed to llvm-commits, so
if we could figure this out on this list, that would be great.

It'd be nice to get tests in place for these things, but I'm not
entirely sure how to formulate them in a stable way.

- Kim

Attachment: Clang-SVNVersion.patch
Description: Binary data

Attachment: LLVM-SVNVersion.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to