Home
last modified time | relevance | path

Searched refs:dcl (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dinit-priority.ll10 ; zero-initialized (as specified in [dcl.init]p7).
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf311 # gram.dcl
342 # dcl.spec
464 # dcl.init
486 # dcl.fct
493 # dcl.enum
527 # dcl.asm
529 # dcl.link
773 #! C++ predefined identifier, __func__ [dcl.fct.def.general] p8
/llvm-project-15.0.7/clang/docs/
H A DReleaseNotes.rst138 …`C++20 [dcl.fct.def.general]p2 <https://timsong-cpp.github.io/cppwp/n4868/dcl.fct.def#general-2.se…
524 dcl.decl.general p4.
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp14991 Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt *Body, in ActOnFinishFunctionBody() argument
14994 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
15022 Diag(dcl->getLocation(), diag::err_auto_fn_no_return_but_not_auto) in ActOnFinishFunctionBody()
15029 FD, dcl->getLocation(), Dummy, in ActOnFinishFunctionBody()
15242 } else if (ObjCMethodDecl *MD = dyn_cast_or_null<ObjCMethodDecl>(dcl)) { in ActOnFinishFunctionBody()
15296 PopFunctionScopeInfo(ActivePolicy, dcl); in ActOnFinishFunctionBody()
15301 DiagnoseUnguardedAvailabilityViolations(dcl); in ActOnFinishFunctionBody()
15319 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) { in ActOnFinishFunctionBody()
15334 if (!hasUncompilableErrorOccurred() && !isa<FunctionTemplateDecl>(dcl)) { in ActOnFinishFunctionBody()
15385 PopFunctionScopeInfo(ActivePolicy, dcl); in ActOnFinishFunctionBody()
[all …]
H A DSemaExpr.cpp14318 ValueDecl *dcl = getPrimaryDecl(op); in CheckAddressOfOperand() local
14320 if (auto *FD = dyn_cast_or_null<FunctionDecl>(dcl)) in CheckAddressOfOperand()
14404 } else if (dcl) { // C99 6.5.3.2p1 in CheckAddressOfOperand()
14407 if (const VarDecl *vd = dyn_cast<VarDecl>(dcl)) { in CheckAddressOfOperand()
14414 } else if (isa<MSPropertyDecl>(dcl)) { in CheckAddressOfOperand()
14416 } else if (isa<FunctionTemplateDecl>(dcl)) { in CheckAddressOfOperand()
14418 } else if (isa<FieldDecl>(dcl) || isa<IndirectFieldDecl>(dcl)) { in CheckAddressOfOperand()
14423 DeclContext *Ctx = dcl->getDeclContext(); in CheckAddressOfOperand()
14425 if (dcl->getType()->isReferenceType()) { in CheckAddressOfOperand()
14428 << dcl->getDeclName() << dcl->getType(); in CheckAddressOfOperand()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp8513 NamedDecl *dcl = CurLayObj->second; in getObjCEncodingForStructureImpl() local
8514 if (!dcl) in getObjCEncodingForStructureImpl()
8517 if (auto *base = dyn_cast<CXXRecordDecl>(dcl)) { in getObjCEncodingForStructureImpl()
8529 const auto *field = cast<FieldDecl>(dcl); in getObjCEncodingForStructureImpl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h2965 void AddInitializerToDecl(Decl *dcl, Expr *init, bool DirectInit);
2966 void ActOnUninitializedDecl(Decl *dcl);
2974 void SetDeclDeleted(Decl *dcl, SourceLocation DelLoc);
2975 void SetDeclDefaulted(Decl *dcl, SourceLocation DefaultLoc);