aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-17 00:55:50 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-17 00:55:50 +0000
commitfa1a06e80706846fa15e0bd44671bdc3dfc53d84 (patch)
tree24a438744f6306bc9783c5517971063de512b8a5 /lib/CodeGen/CodeGenModule.h
parentdb519a4bb2082b98e03162ac1a4399978833643b (diff)
When querying type qualifiers on QualType via one of the "non-local"
interfaces (which are used throughout the front end), combine the qualifiers on the QualType instance with the qualifiers on the canonical type to produce the set of qualifiers that, semantically, apply to that type. This should design away a large category of "qualifier-hidden-behind-a-typedef" buts like we saw in PR5383. Performance-wise, this caused a regression of ~0.5% on Cocoa.h, but it's totally worth it. We may actually be able to get a little more performance back by using CanQualType more often. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions