Basic: Simplify getClangRepositoryPath and getClangRevision.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 29 Sep 2010 19:15:29 +0000 (19:15 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 29 Sep 2010 19:15:29 +0000 (19:15 +0000)
commit16a8fb7e9dd4a0347f7ed676e2d9bd254e1ea5b0
tree666fd5f30ef164cd17c6fa00d883d53793105e05
parent549ee4bd609a5862070fe432fce99b3ab686c847
Basic: Simplify getClangRepositoryPath and getClangRevision.

 - I don't like returning StringRef's ever, unless it is actually important for
   performance, which it isn't here.

 - Also, stop validating getClangRevision to be an integer, I don't see a good
   reason to do this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115071 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Version.h
lib/Basic/Makefile
lib/Basic/Version.cpp