summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/NSAPI.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-08-06 04:23:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-08-06 04:23:48 +0000
commit0f4e2c4d0f46b5edb4159b2d982327475b797efe (patch)
treec893a8277ae403c41609130361a3d4d2fe141a6c /clang/lib/AST/NSAPI.cpp
parent9b000812a44316016abe214ae98212b3cdd079fc (diff)
downloadbcm5719-llvm-0f4e2c4d0f46b5edb4159b2d982327475b797efe.tar.gz
bcm5719-llvm-0f4e2c4d0f46b5edb4159b2d982327475b797efe.zip
[modules] Defer setting up the lookup table for a DeclContext until we can
determine the primary context, rather than sometimes registering the lookup table on the wrong context. This exposed a couple of bugs: * the odr violation check didn't deal properly with mergeable declarations if the declaration retained by name lookup wasn't in the canonical definition of the class * the (broken) RewriteDecl mechanism would emit two name lookup tables for the same DeclContext into the same module file (one as part of the rewritten declaration and one as a visible update for the old declaration) These are both fixed too. llvm-svn: 244192
Diffstat (limited to 'clang/lib/AST/NSAPI.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud