diff options
author | Richard Smith <richard@metafoo.co.uk> | 2023-04-26 16:53:34 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2023-04-26 16:55:30 -0700 |
commit | 1e43349e321694d7fee3d77cb691887ad67fb5d7 (patch) | |
tree | 48ce4d61c37d1d46742d1b752be2e3e2236d75e0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 919382004f4e3bd08a25fd8a8dbd3b4b1e5dc9fa (diff) | |
download | llvm-1e43349e321694d7fee3d77cb691887ad67fb5d7.zip llvm-1e43349e321694d7fee3d77cb691887ad67fb5d7.tar.gz llvm-1e43349e321694d7fee3d77cb691887ad67fb5d7.tar.bz2 |
Pass the found declaration to DiagnoseUseOfDecl.
Don't pass in the resolved declaration, because that might be an
inheriting constructor declaration, which should never be used directly
and for which constraint satisfaction checking doesn't work.
Fixes #62361.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions