reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  380   REGISTER_MATCHER(isInteger);
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  255       qualType(hasCanonicalType(isInteger()),
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
   87                             to(varDecl(hasType(isInteger())).bind(BindName))))),
  158                                       hasType(isInteger())))))))),
tools/clang/tools/extra/clang-tidy/abseil/DurationDivisionCheck.cpp
   32           hasImplicitDestinationType(qualType(unless(isInteger()))),
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp
  127                           anyOf(isInteger(), realFloatingPointType())),
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.cpp
  175                                anyOf(isInteger(), realFloatingPointType())),
tools/clang/tools/extra/clang-tidy/android/CloexecAccept4Check.cpp
   26                        functionDecl(returns(isInteger()), hasName("accept4"),
   27                                     hasParameter(0, hasType(isInteger())),
   30                                     hasParameter(3, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecAcceptCheck.cpp
   25                        functionDecl(returns(isInteger()), hasName("accept"),
   26                                     hasParameter(0, hasType(isInteger())),
tools/clang/tools/extra/clang-tidy/android/CloexecCreatCheck.cpp
   23                        functionDecl(isExternC(), returns(isInteger()),
tools/clang/tools/extra/clang-tidy/android/CloexecDupCheck.cpp
   21                        functionDecl(returns(isInteger()), hasName("dup"),
   22                                     hasParameter(0, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecEpollCreate1Check.cpp
   22       Finder, functionDecl(returns(isInteger()), hasName("epoll_create1"),
   23                            hasParameter(0, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecEpollCreateCheck.cpp
   21       Finder, functionDecl(returns(isInteger()), hasName("epoll_create"),
   22                            hasParameter(0, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecInotifyInit1Check.cpp
   22       Finder, functionDecl(returns(isInteger()), hasName("inotify_init1"),
   23                            hasParameter(0, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecInotifyInitCheck.cpp
   21       Finder, functionDecl(returns(isInteger()), hasName("inotify_init")));
tools/clang/tools/extra/clang-tidy/android/CloexecMemfdCreateCheck.cpp
   20       Finder, functionDecl(returns(isInteger()), hasName("memfd_create"),
   22                            hasParameter(1, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecOpenCheck.cpp
   22                        functionDecl(isExternC(), returns(isInteger()),
   25                                     hasParameter(1, hasType(isInteger()))));
   27                        functionDecl(isExternC(), returns(isInteger()),
   29                                     hasParameter(0, hasType(isInteger())),
   31                                     hasParameter(2, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecPipe2Check.cpp
   22                        functionDecl(returns(isInteger()), hasName("pipe2"),
   23                                     hasParameter(0, hasType(pointsTo(isInteger()))),
   24                                     hasParameter(1, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/android/CloexecPipeCheck.cpp
   21                        functionDecl(returns(isInteger()), hasName("pipe"),
   22                                     hasParameter(0, hasType(pointsTo(isInteger())))));
tools/clang/tools/extra/clang-tidy/android/CloexecSocketCheck.cpp
   21                        functionDecl(isExternC(), returns(isInteger()),
   23                                     hasParameter(0, hasType(isInteger())),
   24                                     hasParameter(1, hasType(isInteger())),
   25                                     hasParameter(2, hasType(isInteger()))));
tools/clang/tools/extra/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp
   55           hasImplicitDestinationType(isInteger()),
tools/clang/tools/extra/clang-tidy/bugprone/IntegerDivisionCheck.cpp
   20   const auto IntType = hasType(isInteger());
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp
   36            hasType(isInteger()))
   39   const auto ExplicitCast = explicitCastExpr(hasDestinationType(isInteger()),
   42       implicitCastExpr(hasImplicitDestinationType(isInteger()),
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
   85       callExpr(anyOf(hasType(isInteger()), hasType(enumType())),
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp
   68           hasArgument(0, hasType(qualType(isInteger()))),
   69           hasArgument(1, hasType(qualType(isInteger()))),
   88           hasArgument(1, hasType(isInteger())),
  108                        hasArgument(1, unless(hasType(isInteger()))))
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp
   34                   expr(hasType(isInteger()), unless(hasType(isAnyCharacter())),
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
  144                          expr(hasType(isInteger()), unless(enumExpr("", "")))),
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp
  139       implicitCastExpr(unless(hasType(isInteger())),
tools/clang/tools/extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
   57           ignoringParenImpCasts(declRefExpr(to(varDecl(hasType(isInteger()))))))
   62       implicitCastExpr(hasImplicitDestinationType(isInteger()),
   69       expr(ignoringParenImpCasts(allOf(hasType(isInteger()),
   78       expr(ignoringParenImpCasts(hasType(isInteger()))).bind(LoopIncrementName);
tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp
   66   Finder->addMatcher(typeLoc(loc(isInteger()),
tools/clang/tools/extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
   43                      hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger())))
   43                      hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger())))
   53                      hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger())))
   53                      hasLHS(hasType(isInteger())), hasRHS(hasType(isInteger())))
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  693           hasImplicitDestinationType(isInteger()),
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp
   51       declRefExpr(to(varDecl(hasType(isInteger())).bind(ConditionVarName)))));
   61   return declRefExpr(to(varDecl(hasType(isInteger())).bind(IncrementVarName)));
   84       expr(hasType(isInteger())).bind(ConditionBoundName);
  278                      varDecl(hasType(isInteger())).bind(ConditionEndVarName)))),
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
   40                       returns(qualType(isInteger(), unless(booleanType()))))
tools/clang/tools/extra/clang-tidy/readability/MisplacedArrayIndexCheck.cpp
   22   Finder->addMatcher(arraySubscriptExpr(hasLHS(hasType(isInteger())),
tools/clang/tools/extra/unittests/clang-tidy/OverlappingReplacementsTest.cpp
   31     Finder->addMatcher(varDecl(hasType(isInteger())).bind(BoundDecl), this);
tools/clang/unittests/AST/ASTImporterTest.cpp
  497       functionDecl(hasDescendant(gnuNullExpr(hasType(isInteger())))));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  863   EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isInteger()))));
  867       to(varDecl(hasType(isInteger()))))))));
  871   EXPECT_TRUE(notMatches("int *i;", varDecl(hasType(isInteger()))));
  874                            to(varDecl(hasType(isInteger()))))))));
 1630     memberExpr(hasDeclaration(fieldDecl(hasType(isInteger()))))));
 1633     memberExpr(hasDeclaration(fieldDecl(hasType(isInteger()))))));
 2194   EXPECT_TRUE(matches("const int a = 0;", qualType(isInteger())));
 2209     complexType(hasElementType(isInteger()))));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
 1246                         atomicType(hasValueType(isInteger()))));
 1248                            atomicType(hasValueType(isInteger()))));
 1257   EXPECT_TRUE(matches("auto i = 2;", varDecl(hasType(isInteger()))));
 1272                       decltypeType(hasUnderlyingType(isInteger()))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
   77                          stmt(hasDescendant(isInteger()))));
   82       varDecl(hasDescendant(isInteger())).bind("x"))),
  104                       varDecl(hasName("i"), has(isInteger()))));
  106                          varDecl(hasName("i"), has(isInteger()))));
  109     qualType(functionType(), forEach(qualType(isInteger()).bind("x"))),
  621   DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
  634   DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
  663   DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
  687   DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
 1116     hasLHS(hasType(isInteger())), hasRHS(hasType(pointsTo(qualType()))));
 1446                         hasImplicitDestinationType(isInteger()))));