summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLookup.cpp
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
commit6c254bf522fe84eae031f3b056dbf281b929efa3 (patch)
tree1e0ab528491c2d68a0a7101d78b7aca0c7cdf802 /clang/lib/Sema/SemaLookup.cpp
parent82e80019a599e81eba09eee0c872d8b2a9f719aa (diff)
downloadbcm5719-llvm-6c254bf522fe84eae031f3b056dbf281b929efa3.tar.gz
bcm5719-llvm-6c254bf522fe84eae031f3b056dbf281b929efa3.zip
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. llvm-svn: 89018
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud