Skip to content

Commit 2e0318f

Browse files
committed
rm unless(isInTemplateInstantiation()), because of IgnoreUnlessSpelledInSource
1 parent 7671fb2 commit 2e0318f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang-tools-extra/clang-tidy/modernize/UseStdNumbersCheck.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ void UseStdNumbersCheck::registerMatchers(MatchFinder *const Finder) {
320320
Finder->addMatcher(
321321
expr(traverse(TK_IgnoreUnlessSpelledInSource,
322322
expr(anyOfExhaustive(ConstantMatchers))),
323-
unless(isInTemplateInstantiation()),
324323
unless(hasParent(expr(
325324
anyOf(implicitCastExpr(hasImplicitDestinationType(isFloating())),
326325
explicitCastExpr(hasDestinationType(isFloating())))))),

0 commit comments

Comments
 (0)