NoQ 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
----------------
alexshap wrote:
> "Address-of" operator can be overloaded, 
> just wondering - doest this code work correctly in that case ?
In this case we'd see a `CXXOperatorCallExpr` instead of `UnaryOperator` (all 
hail clang AST!).


https://reviews.llvm.org/D31982



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to