diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-03 13:40:25 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-04-03 15:03:07 +0800 |
commit | 468dc32ff55d19f55132cbcc4d6ceb1f6d1c12cf (patch) | |
tree | c8bc6a459d56af5f0db34786f7f65ca46eaa3640 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | a75b3e949da588bafd521eff6d265f3ea2f854c2 (diff) | |
download | llvm-468dc32ff55d19f55132cbcc4d6ceb1f6d1c12cf.zip llvm-468dc32ff55d19f55132cbcc4d6ceb1f6d1c12cf.tar.gz llvm-468dc32ff55d19f55132cbcc4d6ceb1f6d1c12cf.tar.bz2 |
[NFC] Make `DeclContext::noload_lookup()` accept transparent context
Now the `DeclContext::noload_lookup()` asserts that 'this' is not a
transparent context. However, this is not consistent with
`DeclContext::lookup()`, which will lookup into its parent context if
'this' is a transparent context.
This patch makes the behavior of `DeclContext::noload_lookup()` to be
consistent with `DeclContext::lookup()`, to lookup into the parent
context if 'this' is a transparent context.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions