Lines Matching defs:dcl
2581 // C++ [dcl.typedef]p2:
2588 // C++0x [dcl.typedef]p4:
2714 // C++11 [dcl.align]p6 and C11 6.7.5/7 both come close to saying this, but
2742 // C++11 [dcl.align]p6:
2973 // C++11 [dcl.align]p6:
3093 // [dcl.constinit]p1:
3229 // C++11 [dcl.attr.depend]p2:
3866 // per C++1y [dcl.type.auto]p13:
3996 // C++11 [dcl.attr.noreturn]p1:
4007 // C++11 [dcl.attr.depend]p2:
4444 // C++11 [dcl.array]p3:
4560 // [dcl.stc]p8: Check if we have a non-static decl followed by a static.
4626 // C++1z [dcl.fcn.spec]p4:
4843 /// [dcl.typedef] for anonymous classes with typedef names for linkage.
4848 // C++ [dcl.typedef]p9: [P1766R1]
4926 // C++ [dcl.typedef]p9: [P1766R1, applied as DR]
5046 // C++0x [dcl.constexpr]p1: constexpr can only be applied to declarations
5048 // C++2a [dcl.constexpr]p1: The consteval specifier shall be applied only to
5167 // C++ [dcl.dcl]p3:
5182 // C++ [dcl.stc]p1:
5185 // C++ [dcl.fct.spec]p1:
5628 // C++ [dcl.dcl]p3:
6323 // C++ [dcl.meaning]p1:
6376 // variables, but not to typedefs (C++ [dcl.typedef]p4) or variable templates.
6616 // Typedef declarators cannot be qualified (C++ [dcl.meaning]p1).
7605 // [dcl.stc] p2: The auto or register specifiers shall be applied only
7607 // [dcl.stc] p6: The extern specifier cannot be used in the declaration
7705 // C++11 [dcl.stc]p4:
7748 // C++1z [dcl.spec.constexpr]p1:
7956 // affects whether we merge types with it, per C++11 [dcl.array]p3.
7977 // out-of-line (C++ [dcl.meaning]p1).
8434 /// Per C++ [dcl.link]p6:
8724 // C++98 [dcl.stc]p5: The extern specifier can be applied only to the names
9117 // See also (C++ [dcl.stc]p4).
9916 // C++ [dcl.fct.spec]p5:
9946 // C++ [dcl.fct.spec]p3:
9958 // C++ [dcl.fct.spec]p6:
9981 // C++11 [dcl.constexpr]p2: constexpr functions and constexpr constructors
9985 // C++11 [dcl.constexpr]p3: functions declared constexpr are required to
9997 // C++20 [dcl.constexpr]p2: An allocation function, or a
10115 // C++20 [dcl.inline]/7
10364 // C++20 [dcl.decl.general]p4:
11875 // C++ [dcl.spec.auto.general]p12:
11904 // C++11 [dcl.constexpr]p8:
12117 // C++1z [dcl.fct]p6:
12814 // C++11 [dcl.spec.auto]p3
12893 // C++ [dcl.decomp]p1:
13326 // C++14 [dcl.init]p5 is the same restriction for C++.
13814 // C++1z [dcl.dcl]p1 grammar implies that an initializer is mandatory.
13828 // C++11 [dcl.constexpr]p1: The constexpr specifier shall be applied only to
14030 // C++11 [stmt.dcl]p3
14053 // C++03 [dcl.init]p9:
14064 // C++0x [dcl.init]p11:
14769 // C++14 [dcl.spec.auto]p7: (DR1347)
14849 // Parameter declarators cannot be qualified (C++ [dcl.meaning]p1).
14855 // [dcl.meaning]p1: An unqualified-id occurring in a declarator-id shall be a
14890 // C++2b [dcl.fct/7] An explicit object parameter shall not be a function
14908 // C++03 [dcl.stc]p2 also permits 'auto'.
15537 // C++23 [dcl.fct.def.general]/p2
15787 Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt *Body,
15790 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr;
15833 Diag(dcl->getLocation(), diag::err_auto_fn_no_return_but_not_auto)
15840 FD, dcl->getLocation(), Dummy,
16059 } else if (ObjCMethodDecl *MD = dyn_cast_or_null<ObjCMethodDecl>(dcl)) {
16113 PopFunctionScopeInfo(ActivePolicy, dcl);
16118 DiagnoseUnguardedAvailabilityViolations(dcl);
16136 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) {
16152 if (!hasUncompilableErrorOccurred() && !isa<FunctionTemplateDecl>(dcl)) {
16205 PopFunctionScopeInfo(ActivePolicy, dcl);
16225 return dcl;
16670 // C++ [dcl.typedef]p8:
16799 // C++ [dcl.type.elab]p3:
17012 // C++23 [dcl.type.elab] p2:
17017 // C++23 [dcl.enum] p1:
17064 // C++23 [dcl.type.elab]p4:
17813 // C++11 [dcl.type]p3:
17889 // C++ [dcl.fct]p6:
19395 // C++11 [dcl.enum]p5: If the underlying type is fixed, [...] the
19435 // C++11 [dcl.enum]p5:
19466 // C++0x [dcl.enum]p5:
19488 // C++0x [dcl.enum]p5:
19888 // From [dcl.enum]p8
20023 // C++ [dcl.enum]p4: Following the closing brace of an
20046 // C++ [dcl.enum]p4: Following the closing brace of an