mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Don't call Type::setName()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
313efcb886
commit
8ca2dc0710
@ -610,7 +610,7 @@ static bool setTypeName(Type *T, char *NameStr) {
|
||||
}
|
||||
|
||||
// Okay, its a newly named type. Set its name.
|
||||
T->setName(Name,&ST);
|
||||
if (!Name.empty()) ST.insert(Name, T);
|
||||
|
||||
// If we're in function scope
|
||||
if (inFunctionScope()) {
|
||||
|
Loading…
Reference in New Issue
Block a user