We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a28cba3 + 426772e commit 2e92542Copy full SHA for 2e92542
lib/ClangImporter/ImportDecl.cpp
@@ -2721,9 +2721,9 @@ namespace {
2721
// case, its not worth the compile time, so bail.
2722
// TODO: this could be configurable at some point.
2723
size_t specializationLimit = !isPair ? 1000 : 10000;
2724
- if (!isPair &&
2725
- llvm::size(decl->getSpecializedTemplate()->specializations()) >
2726
- specializationLimit) {
+ if (size_t(
+ llvm::size(decl->getSpecializedTemplate()->specializations())) >
+ specializationLimit) {
2727
std::string name;
2728
llvm::raw_string_ostream os(name);
2729
decl->printQualifiedName(os);
0 commit comments