Skip to content
Commit 9eef7423 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Using a std::string instead of a StringRef because the Default case...

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
parent 92d20f3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment