OSDN Git Service

Switch FoldingSet::AddString to StringRef based API.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 03:34:53 +0000 (03:34 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 03:34:53 +0000 (03:34 +0000)
commit27dba671c3f158a33c8cbdf5196a6fd16489be03
treec88d1aee0a870108bbc687bc833f38cce81d8051
parent77696bebbcb011be861571b105193fc53614c153
Switch FoldingSet::AddString to StringRef based API.
 - This also fixes a dereference of std::string::end, which makes MSVC unhappy and was causing all the static analyzer clang tests to fail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/FoldingSet.h
lib/Support/FoldingSet.cpp