Szelethus added a comment.

Another common mistake is this:

  if (A) {
    const auto *B = dyn_cast_or_null<FunctionDecl>(A); // warn: A is known to 
be non-null, prefer dyn_cast
  }


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66847/new/

https://reviews.llvm.org/D66847



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

Reply via email to