Author: Richard Smith Date: 2020-07-29T13:07:34-07:00 New Revision: 6ce97eee35463be2ccd82ae659034506ae9b25f1
URL: https://github.com/llvm/llvm-project/commit/6ce97eee35463be2ccd82ae659034506ae9b25f1 DIFF: https://github.com/llvm/llvm-project/commit/6ce97eee35463be2ccd82ae659034506ae9b25f1.diff LOG: Fix invalid attempted explicit instantiation, which Clang now rejects. Added: Modified: clang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp b/clang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp index 2c288e0bbddf..8db47ea190d8 100644 --- a/clang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp +++ b/clang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp @@ -107,5 +107,5 @@ struct S { // CHECK-FIXES: {{^}} void f(char c) { s += std::to_string(c | static_cast<int>(t)); } }; -template S<int>; +template struct S<int>; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits