aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land.
LGTM aside from a minor commenting nit. ================ Comment at: test/clang-tidy/cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp:44 +const char *g2() { + return ("clang"); // OK, ParenCast hides the literal-pointer decay +} ---------------- Remove "Cast" as this is not a cast. It's a ParenExpr. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D54281 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits