Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DWebAssembly.cpp83 if (!FD->doesThisDeclarationHaveABody() && !FD->hasPrototype()) in setTargetAttributes()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp448 if (CallExprDecl->hasPrototype() || !RTDecl->hasPrototype()) in castArgToParamTypeIfNeeded()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp360 if (!FD->hasPrototype()) in getFunctionPointer()
H A DCGDebugInfo.cpp2110 if (Method->hasPrototype()) in CreateCXXMemberFunction()
3998 if (FD->hasPrototype()) in collectFunctionDeclProps()
/src/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp744 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl()
841 if (!D->hasPrototype() && D->getNumParams()) { in VisitFunctionDecl()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1359 unsigned hasPrototype : 1;
1505 bool isKNRPrototype() const { return !hasPrototype && NumParams != 0; } in isKNRPrototype()
/src/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp196 I.Fun.hasPrototype = hasProto; in getFunction()
H A DSemaType.cpp753 declarator.getFunctionTypeInfo().hasPrototype = true; in maybeSynthesizeBlockSignature()
5165 } else if (!FTI.hasPrototype) { in GetFullTypeForDeclarator()
5396 if (!FTI.hasPrototype && FTI.NumParams == 0 && !FTI.isVariadic && in GetFullTypeForDeclarator()
H A DSemaDecl.cpp4084 if (Old->hasPrototype() && !New->hasWrittenPrototype() && NewDeclIsDefn && in MergeFunctionDecl()
4192 Old->hasPrototype() && !New->hasPrototype() && in MergeFunctionDecl()
9170 (D.isFunctionDeclarator() && D.getFunctionTypeInfo().hasPrototype) || in CreateNewFunctionDecl()
15164 if (!FTI.hasPrototype) { in ActOnFinishKNRParamDeclarations()
H A DSemaExpr.cpp3392 if (!cast<FunctionDecl>(VD)->hasPrototype() && isa<FunctionProtoType>(fty)) in BuildDeclarationNameExpr()
6871 if (!FDecl->hasPrototype()) in BuildResolvedCallExpr()
20562 false /*isInlineSpecified*/, FD->hasPrototype(), in resolveDecl()
H A DSemaDeclAttr.cpp7249 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2368 bool hasPrototype() const { in hasPrototype() function