aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.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 /clang/lib/CodeGen/CodeGenModule.cpp
parent92d20f3f90c2750c9ceef182310bc6d53735a55e (diff)
downloadllvm-9eef7423081e6427086a9243b380a9e254067b05.zip
llvm-9eef7423081e6427086a9243b380a9e254067b05.tar.gz
llvm-9eef7423081e6427086a9243b380a9e254067b05.tar.bz2
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 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions