This is an archive of the discontinued LLVM Phabricator instance.

Correctly look up declarations in inline namespaces
ClosedPublic

Authored by teemperor on Mar 10 2019, 4:50 PM.

Details

Summary

This patch marks the inline namespaces from DWARF as inline and also ensures that looking
up declarations now follows the lookup rules for inline namespaces.

Diff Detail

Repository
rLLDB LLDB

Event Timeline

teemperor created this revision.Mar 10 2019, 4:50 PM
aprantl accepted this revision.Mar 11 2019, 8:56 AM
aprantl added inline comments.
lldb/source/Symbol/ClangASTContext.cpp
10269 ↗(On Diff #190031)

auto *

lldb/source/Symbol/CompilerDeclContext.cpp
68 ↗(On Diff #190031)

would if (this == &other) also work?

This revision is now accepted and ready to land.Mar 11 2019, 8:56 AM
teemperor updated this revision to Diff 190111.Mar 11 2019, 9:45 AM
  • Addressed Adrian's comments.
This revision was automatically updated to reflect the committed changes.