/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | undelegated-constructor-cxx98.cpp | 9 struct Ctor { struct 13 Ctor(Ctor *i) { in Ctor() function 21 Ctor::Ctor() { in Ctor() function in Ctor
|
H A D | undelegated-constructor.cpp | 6 struct Ctor { struct 10 Ctor(Ctor *i) { in Ctor() argument 21 Ctor::Ctor() { in Ctor() function in Ctor 26 Ctor::Ctor(int i) : Ctor(i, 1) {} // properly delegated. in Ctor() function in Ctor
|
H A D | unused-raii.cpp | 32 struct Ctor { struct 34 Ctor() { in Ctor() argument
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | PassByValueCheck.cpp | 39 for (const CXXConstructorDecl *Ctor : Node.ctors()) { in AST_MATCHER() local 60 static bool paramReferredExactlyOnce(const CXXConstructorDecl *Ctor, in paramReferredExactlyOnce() 77 bool hasExactlyOneUsageIn(const CXXConstructorDecl *Ctor) { in paramReferredExactlyOnce() 130 static bool hasRValueOverload(const CXXConstructorDecl *Ctor, in hasRValueOverload() 179 collectParamDecls(const CXXConstructorDecl *Ctor, in collectParamDecls() 243 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("Ctor"); in check() local
|
H A D | UseEqualsDefaultCheck.cpp | 61 const CXXConstructorDecl *Ctor) { in isCopyConstructorAndCanBeDefaulted() 314 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(SpecialFunctionDecl)) { in check() local
|
/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 633 bool Registry::isBuilderMatcher(MatcherCtor Ctor) { in buildMatcherCtor() argument 619 nodeMatcherType(MatcherCtor Ctor) nodeMatcherType() argument 628 isBuilderMatcher(MatcherCtor Ctor) isBuilderMatcher() argument 680 MatcherCtor Ctor = CtxEntry.first; getAcceptedCompletionTypes() local 801 constructMatcher(MatcherCtor Ctor,SourceRange NameRange,ArrayRef<ParserValue> Args,Diagnostics * Error) constructMatcher() argument 808 constructBoundMatcher(MatcherCtor Ctor,SourceRange NameRange,StringRef BindID,ArrayRef<ParserValue> Args,Diagnostics * Error) constructBoundMatcher() argument [all...] |
H A D | Parser.cpp | 439 std::optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseIdentifierPrefixImpl() local 469 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, in parseMatcherBuilder() 629 std::optional<MatcherCtor> Ctor, in parseMatcherExpressionImpl() 835 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression() 864 Parser::RegistrySema::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor()
|
/llvm-project/compiler-rt/test/orc/TestCases/Windows/x86-64/Inputs/ |
H A D | standalone-dylib.c | 6 int Ctor() { in Ctor() function
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | CopyConstructorInitCheck.cpp | 33 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor"); in check() local 62 for (const auto *Ctor : BaseClass->ctors()) { in check() local
|
H A D | CrtpConstructorAccessibilityCheck.cpp | 18 return llvm::any_of(RD->ctors(), [](const CXXConstructorDecl *Ctor) { in hasPrivateConstructor() argument 68 hintMakeCtorPrivate(const CXXConstructorDecl *Ctor, in hintMakeCtorPrivate() argument [all...] |
/llvm-project/clang/unittests/ASTMatchers/Dynamic/ |
H A D | RegistryTest.cpp | 46 std::optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 59 std::optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 73 std::optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 92 std::optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local 103 std::optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local 532 auto Ctor = *lookupMatcherCtor("mapAnyOf"); in TEST_F() local
|
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
H A D | ImplicitCtor.cpp | 21 Match(Class->getName(), Ctor->getLocation()); in VisitCXXConstructorDecl() argument
|
H A D | ConstructExpr.cpp | 33 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { VisitCXXConstructExpr() local
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachinePassRegistry.h | 53 PassCtorTy Ctor; // Pass creator. variable 91 PassCtorTy Ctor = nullptr; in setDefault() local
|
/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | PreferMemberInitializerCheck.cpp | 68 const FieldDecl *Field, const Expr *Init, const CXXConstructorDecl *Ctor, in updateAssignmentLevel() argument 107 isAssignmentToMemberOf(const CXXRecordDecl * Rec,const Stmt * S,const CXXConstructorDecl * Ctor) isAssignmentToMemberOf() argument 160 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor"); check() local [all...] |
H A D | ProTypeMemberInitCheck.cpp | 257 const CXXConstructorDecl *Ctor, in fixInitializerList() argument 328 if (const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor")) { in check() local 427 checkMissingMemberInitializer(ASTContext & Context,const CXXRecordDecl & ClassDecl,const CXXConstructorDecl * Ctor) checkMissingMemberInitializer() argument 534 checkMissingBaseClassInitializer(const ASTContext & Context,const CXXRecordDecl & ClassDecl,const CXXConstructorDecl * Ctor) checkMissingBaseClassInitializer() argument [all...] |
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefinedArraySubscriptChecker.cpp | 44 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt() local
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | MoveConstructorInitCheck.cpp | 57 for (const auto *Ctor : CopyCtor->getParent()->ctors()) { in check() local
|
/llvm-project/llvm/unittests/Demangle/ |
H A D | ItaniumDemangleTest.cpp | 41 template <typename NT> struct Ctor { struct 42 template <typename... Args> void operator()(Args &&...args) { in operator ()()
|
/llvm-project/clang-tools-extra/clang-tidy/cert/ |
H A D | ProperlySeededRandomGeneratorCheck.cpp | 80 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructExpr>("ctor"); in check() local
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 265 auto *EntryBB = BasicBlock::Create(M.getContext(), "entry", Ctor, RetB in getOrCreateSanitizerCtorAndInitFunctions() local 192 Function *Ctor = Function::createWithDefaultAttr( createSanitizerCtor() local 214 Function *Ctor = createSanitizerCtor(M, CtorName); createSanitizerCtorAndInitFunctions() local 257 if (Function *Ctor = M.getFunction(CtorName)) getOrCreateSanitizerCtorAndInitFunctions() local [all...] |
/llvm-project/clang/test/Parser/ |
H A D | cxx-class.cpp | 107 class Ctor { // expected-note{{not complete until the closing '}'}} global() class 119 Ctor::Ctor(UnknownType *) {} // \ Ctor() function in ctor_error::Ctor [all...] |
/llvm-project/llvm/include/llvm/ |
H A D | PassInfo.h | 91 setNormalCtor(NormalCtor_t Ctor) setNormalCtor() argument
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Registry.h | 29 std::unique_ptr<T> (*Ctor)(); variable
|
/llvm-project/clang/test/CXX/class/class.union/ |
H A D | p1.cpp | 16 class Ctor { class 17 …Ctor() { abort(); } // expected-note 2{{because type 'Ctor' has a user-provided default constructo… in Ctor() function in Ctor
|