Also adds toDiagnosticString() to Pointer so we can use that when emitting the diagnostic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D149172
[clang][Interp] Emit proper diagnostic when comparing unrelated pointers ClosedPublic Authored by tbaeder on Apr 25 2023, 10:56 AM.
Details Summary Also adds toDiagnosticString() to Pointer so we can use that when emitting the diagnostic.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 26 2023, 4:41 AM This revision was landed with ongoing or failed builds.Jul 28 2023, 4:24 AM Closed by commit rG9092acc51010: [clang][Interp] Emit proper diagnostic when comparing unrelated pointers (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 545097 clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Pointer.cpp
clang/test/AST/Interp/literals.cpp
|