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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1662     cxxConstructExpr;

References

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 4025       if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl(
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  169   REGISTER_MATCHER(cxxConstructExpr);
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  265       cxxConstructExpr(NonConstRefParam, NotInstantiated),
  394                          cxxConstructExpr(NonConstRefParam, IsInstantiated,
tools/clang/tools/extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp
   70       cxxConstructExpr(hasType(recordDecl(hasName("::absl::string_view"))),
   77                ignoringParenCasts(cxxBindTemporaryExpr(has(cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp
   72                     cxxConstructExpr(IsAlphanum, hasArgument(0, IsStrcat)),
tools/clang/tools/extra/clang-tidy/abseil/StrCatAppendCheck.cpp
   50   const auto AlphaNum = IgnoringTemporaries(cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
   40                                     cxxConstructExpr(hasParent(exprWithCleanups(
   56                               hasParent(cxxConstructExpr(
   73                                 cxxConstructExpr(hasParent(exprWithCleanups(
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp
   60   Finder->addMatcher(cxxConstructExpr().bind("expr"), this);
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp
   30               withInitializer(cxxConstructExpr(hasDeclaration(
tools/clang/tools/extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
   28       anyOf(cxxConstructExpr(hasDeclaration(cxxMethodDecl(ofClass(IsAHandle))),
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp
   31               anyOf(cxxConstructExpr(has(ignoringImplicit(
tools/clang/tools/extra/clang-tidy/bugprone/StringConstructorCheck.cpp
   66       cxxConstructExpr(
   85       cxxConstructExpr(
  106       cxxConstructExpr(hasDeclaration(cxxMethodDecl(hasName("basic_string"))),
tools/clang/tools/extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp
   42       cxxConstructExpr(argumentCountIs(1),
   46       cxxConstructExpr(argumentCountIs(2),
   53       cxxConstructExpr(StringConstructorExpr, hasArgument(0, StrLitWithNul)),
tools/clang/tools/extra/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp
   67               cxxConstructExpr(hasDeclaration(cxxConstructorDecl(ofClass(
tools/clang/tools/extra/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp
   55       hasDescendant(cxxConstructExpr(hasDeclaration(cxxConstructorDecl(
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
   65       cxxConstructExpr(RandomGeneratorEngineTypeMatcher).bind("ctor"), this);
tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
   30               anyOf(hasDescendant(cxxConstructExpr(hasDeclaration(
tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
   26           cxxConstructExpr(hasDeclaration(cxxConstructorDecl(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  286       cxxConstructExpr(unless(requiresZeroInitialization()),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
   57   const auto SlicesObjectInCtor = cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp
   40                          hasDescendant(cxxConstructExpr(unless(allOf(
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
   85       cxxConstructExpr(hasDeclaration(decl(unless(isPublic())))))));
   89           cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp
  147                   withInitializer(cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
  130   Finder->addMatcher(cxxConstructExpr(hasType(AutoPtrType), argumentCountIs(1),
tools/clang/tools/extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
   28       cxxConstructExpr(
   41                        has(cxxConstructExpr(has(CtorAsArgument)))))))
tools/clang/tools/extra/clang-tidy/modernize/ShrinkToFitCheck.cpp
   31   const auto CopyCtorCall = cxxConstructExpr(hasArgument(
tools/clang/tools/extra/clang-tidy/modernize/UseEmplaceCheck.cpp
   72       ignoringImplicit(cxxConstructExpr(isListInitialization())));
   89       cxxConstructExpr(
  106   auto MakeTupleCtor = ignoringImplicit(cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
   79                 withInitializer(cxxConstructExpr(
  100                     cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp
   63   Finder->addMatcher(cxxConstructExpr(hasDeclaration(cxxMethodDecl(
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp
   47               0, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr(
   56               1, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr(
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
   91   const auto DefaultConstructorCall = cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp
   57   Finder->addMatcher(cxxConstructExpr(ConstParamMatcher).bind("receiving-expr"),
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
   40                   withInitializer(cxxConstructExpr(hasDeclaration(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
   68                                        cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
   71   const auto DefaultConstructor = cxxConstructExpr(
   78       cxxConstructExpr(
   81       cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp
   34                                 cxxConstructExpr()))
tools/clang/tools/extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
   28       cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/readability/RedundantStringCStrCheck.cpp
   81       cxxConstructExpr(argumentCountIs(1),
   83       cxxConstructExpr(
   98   Finder->addMatcher(cxxConstructExpr(StringConstructorExpr,
  157       cxxConstructExpr(
tools/clang/tools/extra/clang-tidy/readability/RedundantStringInitCheck.cpp
   26       cxxConstructExpr(argumentCountIs(1),
   30       cxxConstructExpr(argumentCountIs(2),
   35   const auto EmptyStringCtorExpr = cxxConstructExpr(
   40       cxxConstructExpr(StringConstructorExpr,
tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.cpp
   68       match(findAll(cxxConstructExpr(UsedAsConstRefOrValueArg)), Stmt, Context);
  101       match(decl(forEachDescendant(cxxConstructExpr(UsedAsConstRefOrValueArg))),
  147           cxxConstructExpr(UsedAsConstRefArg, hasDeclaration(cxxConstructorDecl(
tools/clang/tools/extra/clang-tidy/zircon/TemporaryObjectsCheck.cpp
   39       cxxConstructExpr(hasParent(cxxFunctionalCastExpr()),
tools/clang/unittests/AST/ASTImporterTest.cpp
  726                   cxxConstructExpr(
  761           exprWithCleanups(has(cxxConstructExpr(
tools/clang/unittests/AST/SourceLocationTest.cpp
  354       cxxConstructExpr(), Lang_CXX11));
  631       cxxConstructExpr(), Lang_OBJCXX));
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
 1211   StatementMatcher Constructor = cxxConstructExpr(
 1227   StatementMatcher WrongIndex = cxxConstructExpr(
 1235   StatementMatcher Constructor1Arg = cxxConstructExpr(argumentCountIs(1));
 1253     cxxConstructExpr(isListInitialization());
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  575   StatementMatcher Constructor = cxxConstructExpr();
  779         cxxConstructExpr(
 1101                       cxxConstructExpr(has(cxxStdInitializerListExpr()),
 1105                       cxxConstructExpr(has(cxxStdInitializerListExpr()),
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  408   StatementMatcher CtorArgumentY = cxxConstructExpr(HasArgumentY);
  689     cxxConstructExpr(forEachArgumentWithParam(ArgumentY, IntParam));
 1301   StatementMatcher Constructor = cxxConstructExpr(hasDeclaration(cxxMethodDecl(
 1520                           ignoringElidableConstructorCall(cxxConstructExpr()))),
 1551                       varDecl(has(ignoringImplicit(cxxConstructExpr())))));
 1585         cxxConstructExpr(has(expr(ignoringImplicit(cxxConstructExpr(
 1585         cxxConstructExpr(has(expr(ignoringImplicit(cxxConstructExpr(
 1595       notMatches("class C {}; C a = C();", varDecl(has(cxxConstructExpr()))));
 1744                         hasSourceExpression(cxxConstructExpr()))));
tools/clang/unittests/Tooling/RangeSelectorTest.cpp
   99               cxxConstructExpr(
tools/clang/unittests/Tooling/StencilTest.cpp
   91                  cxxConstructExpr(