Roll back the ConstStringRef change for now
authorAlp Toker <alp@nuanti.com>
Mon, 27 Jan 2014 05:24:39 +0000 (05:24 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 27 Jan 2014 05:24:39 +0000 (05:24 +0000)
commit650e286dcf39e58a1e9de767354ff0bda4a9a82e
treec92f126021d14d376386edc028f794da4813448e
parent72e501f0be3f92d44f1a10976d56f72ce6f6f8db
Roll back the ConstStringRef change for now

There are a couple of interesting things here that we want to check over
(particularly the expecting asserts in StringRef) and get right for general use
in ADT so hold back on this one. For clang we have a workable templated
solution to use in the meanwhile.

This reverts commit r200187.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200194 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h
include/llvm/Support/ErrorHandling.h
lib/Support/ErrorHandling.cpp
unittests/ADT/StringRefTest.cpp