diff options
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2024-02-05 14:40:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 14:40:07 -0800 |
commit | a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de (patch) | |
tree | eb484acc8b121b960fab18ec859bab5f6e7ecd5f /llvm/lib/IR/Function.cpp | |
parent | 8ce036d539cdaaee50ce7c63f963b7d68c43282e (diff) | |
download | llvm-a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de.zip llvm-a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de.tar.gz llvm-a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de.tar.bz2 |
[Clang][Sema] Fix regression due to missing ambiguity check before attempting access check. (#80730)
Previously when fixing ambiguous lookup diagnostics in
cc1b6668c57170cd440d321037ced89d6a61a9cb The change refactored
`LookupResult` to split out diagnosing access and ambiguous lookups. The
call to `getSema().CheckLookupAccess(...)` should have guarded by a
check for isAmbiguous(). This change adds that guard.
Fixes: https://github.com/llvm/llvm-project/issues/80435
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions