[PATCH] D31982: [analyzer] Improve suppression for inlined defensive checks when operator& is involved.
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 12 10:04:07 PDT 2017
alexshap added inline comments.
================
Comment at: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:965
+
+ // Performing operator `&' on an lvalue expression is essentially a no-op.
+ // Then, if we are taking addresses of fields or elements, these are also
----------------
"Address-of" operator can be overloaded,
just wondering - doest this code work correctly in that case ?
https://reviews.llvm.org/D31982
More information about the cfe-commits
mailing list