Skip to content
Commit 3849fcbe authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Postpone the deletion of the old name in StructType::setName to allow using a...

Postpone the deletion of the old name in StructType::setName to allow using a slice of the old name.

Fixes PR13522. Add a rudimentary unit test to exercise the behavior.

llvm-svn: 161296
parent aa63610b
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