aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2024-04-19 14:16:09 +0200
committerGitHub <noreply@github.com>2024-04-19 14:16:09 +0200
commite7c042f12fd6f3bbbbe9aeb37854d499aada8457 (patch)
tree9bd405f89d6c3669aaf6df775803c10588f44095 /clang/lib/Frontend/CompilerInvocation.cpp
parent7e2c2981fbb9e609886cfbe6c95644ed58b03d08 (diff)
downloadllvm-e7c042f12fd6f3bbbbe9aeb37854d499aada8457.zip
llvm-e7c042f12fd6f3bbbbe9aeb37854d499aada8457.tar.gz
llvm-e7c042f12fd6f3bbbbe9aeb37854d499aada8457.tar.bz2
[lldb] Make SBType::FindDirectNestedType work with expression ASTs (#89183)
The types we get out of expressions will not have an associated symbol file, so the current method of looking up the type will fail. Instead, I plumb the query through the TypeSystem class. This correctly finds the type in both cases (importing it into the expression AST if needed). I haven't measured, but it should also be more efficient than doing a type lookup (at least, after the type has already been found once).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions