[PATCH] D49403: More aggressively complete RecordTypes with Function Pointers

Olga Chupina via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 23 10:11:48 PDT 2018


olga.chupina added a comment.

Hello,

Since the structure field which is a function pointer appears in the assignment statement, it messes up the type analysis.
If it would really be a pointer to a structure then the corresponding assignment could be treated as bad type casting and potentially lead to unauthorized structure field access.


https://reviews.llvm.org/D49403





More information about the cfe-commits mailing list