[all-commits] [llvm/llvm-project] 9c52b1: [lldb][test] Add test for looking up decls in Clan...
Michael Buch via All-commits
all-commits at lists.llvm.org
Tue Jun 3 04:10:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c52b177ea27778e904908c974e8113ed637dd69
https://github.com/llvm/llvm-project/commit/9c52b177ea27778e904908c974e8113ed637dd69
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-06-03 (Tue, 03 Jun 2025)
Changed paths:
A lldb/test/Shell/Expr/TestClangModulesDeclLookup.test
Log Message:
-----------
[lldb][test] Add test for looking up decls in Clang modules for C++
Adds coverage for the code-path where
`ClangExpressionDeclMap::FindExternalVisibleDecls` finds a decl inside
of a Clang module (without explicitly having to import the module on the
LLDB CLI). AFAICT, we had not tests for this.
`LookupFunction` will try to find a `FunctionDecl` in debug-info. But if
no debug-info exists, it will ask the `ClangModulesDeclVendor` to search
for the function with the specified name in any of the Clang modules
that got added to it in `SetupDeclVendor`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list