summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-25 15:33:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-25 15:33:40 +0000
commitc81c3f554ccadfc15fc90a4e261d44d671440ea1 (patch)
tree4922fe2fb3c1a272aad77feac5f73991f081c8f5 /clang/lib
parent28cacae2f1150bda344b9cedc182ee6f8a81683c (diff)
downloadbcm5719-llvm-c81c3f554ccadfc15fc90a4e261d44d671440ea1.tar.gz
bcm5719-llvm-c81c3f554ccadfc15fc90a4e261d44d671440ea1.zip
Set the body of a new struct as soon as it is created.
This changes the order in which different types are passed to get, but one order is not inherently better than the other. The main motivation is that this simplifies linkDefinedTypeBodies now that it is only linking "real" opaque types. It is also means that we only have to call it once and that we don't need getImpl. A small change in behavior is that we don't copy type names when resolving opaque types. This is an improvement IMHO, but it can be added back if desired. A test is included with the new behavior. llvm-svn: 222764
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud