[Lldb-commits] [PATCH] D57880: Add assert for 'bad' code path in GetUniqueNamespaceDeclaration
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 8 14:31:16 PDT 2019
shafik added inline comments.
================
Comment at: lldb/trunk/source/Symbol/ClangASTContext.cpp:1957
} else {
- // BAD!!!
+ assert(false && "GetUniqueNamespaceDeclaration called with no name and "
+ "no namespace as decl_ctx");
----------------
We don't have a way to trigger this branch?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57880/new/
https://reviews.llvm.org/D57880
More information about the lldb-commits
mailing list