summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-07-17 13:28:50 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-07-17 13:28:50 +0000
commit9eef7423081e6427086a9243b380a9e254067b05 (patch)
tree7b902e29c6ef3b0242d8b2580fd45c70b8a1026c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent92d20f3f90c2750c9ceef182310bc6d53735a55e (diff)
Using a std::string instead of a StringRef because the Default case synthesizes a temporary std::string from a Twine. Assigning that into a StringRef causes the StringRef to refer to a temporary, and bad things happen.
This fixes a failing test case on Windows. llvm-svn: 213265
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions