Skip to content
Commit f0c627d5 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[UB] When attaching empty strings to the AST, use an empty StringRef

rather than forcing the bump pointer allocator to produce a viable
pointer. This also fixes UB when we would try to memcpy from the null
incoming StringRef.

llvm-svn: 243947
parent b6708d8e
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