aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-25 20:12:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-25 20:12:36 +0000
commit3626b7e451016c72668e278cc4f751b0b91975e2 (patch)
treeebcc1bf602055ac48584b3a687afa6b655c38af9 /clang/lib/CodeGen/ModuleBuilder.cpp
parentf43cbeee1577e2c681ba0106f05d8ac7c97943ac (diff)
downloadllvm-3626b7e451016c72668e278cc4f751b0b91975e2.zip
llvm-3626b7e451016c72668e278cc4f751b0b91975e2.tar.gz
llvm-3626b7e451016c72668e278cc4f751b0b91975e2.tar.bz2
Put friend decls in the correct context.
When we find a friend declaration we have to skip transparent contexts for doing lookups, but we should not skip them when inserting the new decl if the lookup found nothing. Fixes PR15841. llvm-svn: 180571
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions