aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBoaz Brickner <brickner@google.com>2024-10-16 16:02:25 +0200
committerGitHub <noreply@github.com>2024-10-16 16:02:25 +0200
commitb333edd0d6da744c099ad3ff3b5fbd2d4e4dd45a (patch)
tree7e8293e262151e3bfed71a7d1b18164f179b287e /clang/lib/CodeGen/CodeGenModule.cpp
parent87f126243beb69b8b02e5cd4df762bc8a6f1f8cc (diff)
downloadllvm-b333edd0d6da744c099ad3ff3b5fbd2d4e4dd45a.zip
llvm-b333edd0d6da744c099ad3ff3b5fbd2d4e4dd45a.tar.gz
llvm-b333edd0d6da744c099ad3ff3b5fbd2d4e4dd45a.tar.bz2
[clang] When checking for covariant return types, make sure the pointers or references are to *classes* (#111856)
https://eel.is/c++draft/class.virtual#8.1 This prevents overriding methods with non class return types that have less cv-qualification. Fixes: #111742
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions