Author: aaronballman Date: Tue Jun 7 12:32:07 2016 New Revision: 272027 URL: http://llvm.org/viewvc/llvm-project?rev=272027&view=rev Log: Fixing a build bot issue with duplicate explicit instantiations.
Modified: clang-tools-extra/trunk/test/clang-tidy/misc-misplaced-const.cpp Modified: clang-tools-extra/trunk/test/clang-tidy/misc-misplaced-const.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-misplaced-const.cpp?rev=272027&r1=272026&r2=272027&view=diff ============================================================================== --- clang-tools-extra/trunk/test/clang-tidy/misc-misplaced-const.cpp (original) +++ clang-tools-extra/trunk/test/clang-tidy/misc-misplaced-const.cpp Tue Jun 7 12:32:07 2016 @@ -26,7 +26,14 @@ struct S { template struct S<int>; template struct S<ip>; // ok template struct S<cip>; -template struct S<int *>; // ok + +template <typename Ty> +struct U { + const Ty *i; + const Ty &i2; +}; + +template struct U<int *>; // ok struct T { typedef void (T::*PMF)(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits