aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-07-22 15:57:22 +0200
committerGitHub <noreply@github.com>2024-07-22 15:57:22 +0200
commit3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb (patch)
tree7067c8550332cfac4ee132d769ad7a53368eb7ac /clang/lib/CodeGen/CodeGenModule.cpp
parentbc4c3bf1b75fec183e2616d6688aa155d6aada74 (diff)
downloadllvm-3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb.zip
llvm-3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb.tar.gz
llvm-3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb.tar.bz2
[Clang] Fix handling of qualified id-expressions in unevaluated contexts (#99807)
In #89713, we made qualified, parenthesized id-expression ill-formed in and address of expressions. The expected behavior should instead be to form a pointer (rather than a pointer to member) The fix has been suggested by @zwuis and the tests by @hubert-reinterpretcast. It is worth pointing out that some of these tests seem rejected by all compilers, however the tests do seem correct. Fixes #89713 Fixes #40906 --------- Co-authored-by: YanzuoLiu <zwuis@outlook.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions