NoQ added inline comments.

================
Comment at: lib/StaticAnalyzer/Core/CallEvent.cpp:593
+        // Fall back to a generic pointer cast for this-value.
+        const CXXMethodDecl *StaticMD = cast<CXXMethodDecl>(getDecl());
+        const CXXRecordDecl *StaticClass = StaticMD->getParent();
----------------
george.karpenkov wrote:
> nit: auto?
Dunno, i somehow like the symmetry with the next line. "Take method decl, take 
record decl". Maybe it's just me.


https://reviews.llvm.org/D43659



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

Reply via email to