Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DWebAssembly.cpp83 if (!FD->doesThisDeclarationHaveABody() && !FD->hasPrototype()) in setTargetAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp448 if (CallExprDecl->hasPrototype() || !RTDecl->hasPrototype()) in castArgToParamTypeIfNeeded()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp794 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl()
882 if (!D->hasPrototype() && D->getNumParams()) { in VisitFunctionDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1319 unsigned hasPrototype : 1; member
1459 bool isKNRPrototype() const { return !hasPrototype && NumParams != 0; } in isKNRPrototype()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp196 I.Fun.hasPrototype = hasProto; in getFunction()
H A DSemaType.cpp742 declarator.getFunctionTypeInfo().hasPrototype = true; in maybeSynthesizeBlockSignature()
5597 } else if (!FTI.hasPrototype) { in GetFullTypeForDeclarator()
5828 if (!FTI.hasPrototype && FTI.NumParams == 0 && !FTI.isVariadic && in GetFullTypeForDeclarator()
H A DSemaDecl.cpp4194 if (Old->hasPrototype() && !New->hasWrittenPrototype() && NewDeclIsDefn && in MergeFunctionDecl()
4302 Old->hasPrototype() && !New->hasPrototype() && in MergeFunctionDecl()
9305 (D.isFunctionDeclarator() && D.getFunctionTypeInfo().hasPrototype) || in CreateNewFunctionDecl()
15398 if (!FTI.hasPrototype) { in ActOnFinishKNRParamDeclarations()
H A DSemaExpr.cpp3654 if (!cast<FunctionDecl>(VD)->hasPrototype() && isa<FunctionProtoType>(fty)) in BuildDeclarationNameExpr()
7667 if (!FDecl->hasPrototype()) in BuildResolvedCallExpr()
21562 false /*isInlineSpecified*/, FD->hasPrototype(), in resolveDecl()
H A DSemaDeclAttr.cpp10011 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2380 bool hasPrototype() const { in hasPrototype() function
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1984 if (Method->hasPrototype()) in CreateCXXMemberFunction()
3845 if (FD->hasPrototype()) in collectFunctionDeclProps()