Details
Details
Diff Detail
Diff Detail
Event Timeline
| clang/test/AST/Interp/literals.cpp | ||
|---|---|---|
| 16 | Can you add a test along the lines of constexpr void* v = nullptr; | |
| Paths 
 |  Differential  D155552  
[clang][Interp] Support __null ClosedPublic Authored by tbaeder on Jul 18 2023, 12:23 AM. 
Details 
Diff Detail Event Timeline
 tbaeder marked an inline comment as done. This revision is now accepted and ready to land.Jul 18 2023, 12:51 AM This revision was landed with ongoing or failed builds.Aug 17 2023, 1:29 AM Closed by commit rGc4becd50ad43: [clang][Interp] Support __null (authored by tbaeder).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 541366 clang/lib/AST/Interp/ByteCodeExprGen.h
 clang/lib/AST/Interp/ByteCodeExprGen.cpp
 clang/test/AST/Interp/literals.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Can you add a test along the lines of
constexpr void* v = nullptr;
static_assert(__null == v);