Thoroughly check for a pointer dereference which yields a glvalue. Look
through casts, comma operators, conditional operators, paren
expressions, etc.
This was originally D4416.
Paths
| Differential D4592
CodeGen: Properly null-check typeid expressions ClosedPublic Authored by majnemer on Jul 18 2014, 1:13 PM.
Details Summary Thoroughly check for a pointer dereference which yields a glvalue. Look This was originally D4416.
Diff Detail Event Timelinemajnemer updated this object.
rsmith edited edge metadata. Comment ActionsLGTM
This revision is now accepted and ready to land.Jul 18 2014, 1:52 PM
Revision Contents
Diff 11669 lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/typeid-should-throw.cpp
|
Do you need to walk through OpaqueValueExprs to support this for binary conditional operators? Does this work: