[PATCH] D148800: [C2x] Update 'nullptr' implementation based on CD comments
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 2 15:30:21 PDT 2023
efriedma added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:10087
+ // a conversion.
+ Kind = CK_NoOp;
+ return Compatible;
----------------
I'd like to see testcases for:
- Codegen (LLVM IR emission)
- Constant evaluation. (Is a cast like this allowed in an integer constant expression?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148800/new/
https://reviews.llvm.org/D148800
More information about the cfe-commits
mailing list