xazax.hun added inline comments.
================ Comment at: test/clang-tidy/misc-misplaced-widening-cast-explicit-only.cpp:63 + enum Type {}; + static char *m_fn1() { char p = (Type)(&p - m_fn1()); } +}; ---------------- Isn't this testcase a bit overcomplicated to demonstrate the issue? Repository: rL LLVM https://reviews.llvm.org/D36670 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits