aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2023-04-26 16:53:34 -0700
committerRichard Smith <richard@metafoo.co.uk>2023-04-26 16:55:30 -0700
commit1e43349e321694d7fee3d77cb691887ad67fb5d7 (patch)
tree48ce4d61c37d1d46742d1b752be2e3e2236d75e0 /clang/lib/Frontend/CompilerInvocation.cpp
parent919382004f4e3bd08a25fd8a8dbd3b4b1e5dc9fa (diff)
downloadllvm-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