Commit 82950a69 authored by Timm Bäder's avatar Timm Bäder
Browse files

[clang][Interp] Protect ArrayElemPtr ops from dummy pointers

Change the semantics of Pointer::isDummy() to check for a null
Pointee and returnd false in that case. Then call CheckDummy()
in ArrayElemPtr{,Pop} to protect those ops from operating on
dummy pointers and enable a few tests in test/Sema/ that now
work with the new constant interpreter.
parent de8ba2f6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment