Home
last modified time | relevance | path

Searched refs:hasPrototype (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclPrinter.cpp688 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl()
776 if (!D->hasPrototype() && D->getNumParams()) { in VisitFunctionDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h1281 unsigned hasPrototype : 1; member
1421 bool isKNRPrototype() const { return !hasPrototype && NumParams != 0; } in isKNRPrototype()
/llvm-project-15.0.7/clang/lib/Sema/
H A DDeclSpec.cpp195 I.Fun.hasPrototype = hasProto; in getFunction()
H A DSemaType.cpp722 declarator.getFunctionTypeInfo().hasPrototype = true; in maybeSynthesizeBlockSignature()
5392 } else if (!FTI.hasPrototype) { in GetFullTypeForDeclarator()
5616 if (!FTI.hasPrototype && FTI.NumParams == 0 && !FTI.isVariadic && in GetFullTypeForDeclarator()
H A DSemaDecl.cpp4036 if (Old->hasPrototype() && !New->hasWrittenPrototype() && NewDeclIsDefn && in MergeFunctionDecl()
4145 Old->hasPrototype() && !New->hasPrototype() && in MergeFunctionDecl()
8935 (D.isFunctionDeclarator() && D.getFunctionTypeInfo().hasPrototype) || in CreateNewFunctionDecl()
14472 if (!FTI.hasPrototype) { in ActOnFinishKNRParamDeclarations()
H A DSemaExpr.cpp3459 if (!cast<FunctionDecl>(VD)->hasPrototype() && isa<FunctionProtoType>(fty)) in BuildDeclarationNameExpr()
7112 if (!FDecl->hasPrototype()) in BuildResolvedCallExpr()
20430 false /*isInlineSpecified*/, FD->hasPrototype(), in resolveDecl()
H A DSemaOverload.cpp9675 if (Cand1.Function && Cand2.Function && Cand1.Function->hasPrototype() && in canCompareFunctionConstraints()
9676 Cand2.Function->hasPrototype()) { in canCompareFunctionConstraints()
H A DSemaDeclAttr.cpp9253 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h2283 bool hasPrototype() const { in hasPrototype() function
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1853 if (Method->hasPrototype()) in CreateCXXMemberFunction()
3683 if (FD->hasPrototype()) in collectFunctionDeclProps()
H A DCGExpr.cpp2645 if (!FD->hasPrototype()) { in EmitFunctionDeclPointer()
H A DTargetInfo.cpp891 if (!FD->doesThisDeclarationHaveABody() && !FD->hasPrototype()) in setTargetAttributes()