summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-03 16:37:14 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-03 16:37:14 +0000
commitdd847baaddd02a2cebb8b2b994636fbbe1ef0451 (patch)
tree0cdbf5665f64def7b1c73e13218a3f543ce75291 /clang/lib/Sema/SemaCodeComplete.cpp
parentf82d8064d43954c64ba59478d8e5f8d9418e7dd6 (diff)
downloadbcm5719-llvm-dd847baaddd02a2cebb8b2b994636fbbe1ef0451.tar.gz
bcm5719-llvm-dd847baaddd02a2cebb8b2b994636fbbe1ef0451.zip
When we're checking a friend function template in an out-of-line class
definition, we may not have a scope corresponding to the namespace where that friend function template actually lives. Work around this issue by faking up a scope with the appropriate DeclContext. This is a bit of a hack, but it fixes <rdar://problem/10204947>. llvm-svn: 143614
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud