[PATCH] D19769: [clang-tidy] Add explicitly given array size heuristic to misc-suspicious-missing-comma check.

Dominik Szabó via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 10:10:25 PDT 2016


szdominik added a comment.

I think the main success is that we don't warn here:

  const char* A[2] = {"a", "b" "c");

The problem is, as you said, not remove already supported cases (such as when the parent is not a vardecl (but also an initListExpr)).
But I'll implement, and we'll see it.


http://reviews.llvm.org/D19769





More information about the cfe-commits mailing list