[clang-tools-extra] 6ce97ee - Fix invalid attempted explicit instantiation, which Clang now rejects.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 29 13:07:44 PDT 2020
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>;
}
More information about the cfe-commits
mailing list