Lines Matching defs:dcl
2585 // C++ [dcl.typedef]p2:
2592 // C++0x [dcl.typedef]p4:
2718 // C++11 [dcl.align]p6 and C11 6.7.5/7 both come close to saying this, but
2746 // C++11 [dcl.align]p6:
2981 // C++11 [dcl.align]p6:
3111 // [dcl.constinit]p1:
3283 // C++11 [dcl.attr.depend]p2:
3894 // per C++1y [dcl.type.auto]p13:
4028 // C++11 [dcl.attr.noreturn]p1:
4039 // C++11 [dcl.attr.depend]p2:
4492 // C++11 [dcl.array]p3:
4608 // [dcl.stc]p8: Check if we have a non-static decl followed by a static.
4674 // C++1z [dcl.fcn.spec]p4:
4891 /// [dcl.typedef] for anonymous classes with typedef names for linkage.
4896 // C++ [dcl.typedef]p9: [P1766R1]
4974 // C++ [dcl.typedef]p9: [P1766R1, applied as DR]
5098 // C++0x [dcl.constexpr]p1: constexpr can only be applied to declarations
5100 // C++2a [dcl.constexpr]p1: The consteval specifier shall be applied only to
5222 // C++ [dcl.dcl]p3:
5237 // C++ [dcl.stc]p1:
5240 // C++ [dcl.fct.spec]p1:
5683 // C++ [dcl.dcl]p3:
6378 // C++ [dcl.meaning]p1:
6431 // variables, but not to typedefs (C++ [dcl.typedef]p4) or variable templates.
6671 // Typedef declarators cannot be qualified (C++ [dcl.meaning]p1).
7725 // [dcl.stc] p2: The auto or register specifiers shall be applied only
7727 // [dcl.stc] p6: The extern specifier cannot be used in the declaration
7825 // C++11 [dcl.stc]p4:
7868 // C++1z [dcl.spec.constexpr]p1:
8081 // affects whether we merge types with it, per C++11 [dcl.array]p3.
8103 // out-of-line (C++ [dcl.meaning]p1).
8569 /// Per C++ [dcl.link]p6:
8872 // C++98 [dcl.stc]p5: The extern specifier can be applied only to the names
9271 // See also (C++ [dcl.stc]p4).
10067 // C++ [dcl.fct.spec]p5:
10097 // C++ [dcl.fct.spec]p3:
10109 // C++ [dcl.fct.spec]p6:
10132 // C++11 [dcl.constexpr]p2: constexpr functions and constexpr constructors
10136 // C++11 [dcl.constexpr]p3: functions declared constexpr are required to
10148 // C++20 [dcl.constexpr]p2: An allocation function, or a
10266 // C++20 [dcl.inline]/7
10516 // C++20 [dcl.decl.general]p4:
12039 // C++ [dcl.spec.auto.general]p12:
12068 // C++11 [dcl.constexpr]p8:
12284 // C++1z [dcl.fct]p6:
12948 // C++11 [dcl.spec.auto]p3
13027 // C++ [dcl.decomp]p1:
13459 // C++14 [dcl.init]p5 is the same restriction for C++.
13947 // C++1z [dcl.dcl]p1 grammar implies that an initializer is mandatory.
13961 // C++11 [dcl.constexpr]p1: The constexpr specifier shall be applied only to
14163 // C++11 [stmt.dcl]p3
14186 // C++03 [dcl.init]p9:
14197 // C++0x [dcl.init]p11:
14904 // C++14 [dcl.spec.auto]p7: (DR1347)
14984 // Parameter declarators cannot be qualified (C++ [dcl.meaning]p1).
14990 // [dcl.meaning]p1: An unqualified-id occurring in a declarator-id shall be a
15025 // C++2b [dcl.fct/7] An explicit object parameter shall not be a function
15049 // C++03 [dcl.stc]p2 also permits 'auto'.
15701 // C++23 [dcl.fct.def.general]/p2
15953 Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt *Body,
15956 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr;
16030 Diag(dcl->getLocation(), diag::err_auto_fn_no_return_but_not_auto)
16037 FD, dcl->getLocation(), Dummy,
16256 } else if (ObjCMethodDecl *MD = dyn_cast_or_null<ObjCMethodDecl>(dcl)) {
16310 PopFunctionScopeInfo(ActivePolicy, dcl);
16315 DiagnoseUnguardedAvailabilityViolations(dcl);
16333 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) {
16349 if (!hasUncompilableErrorOccurred() && !isa<FunctionTemplateDecl>(dcl)) {
16405 PopFunctionScopeInfo(ActivePolicy, dcl);
16425 return dcl;
16854 // C++ [dcl.typedef]p8:
16983 // C++ [dcl.type.elab]p3:
17196 // C++23 [dcl.type.elab] p2:
17201 // C++23 [dcl.enum] p1:
17248 // C++23 [dcl.type.elab]p4:
17999 // C++11 [dcl.type]p3:
18075 // C++ [dcl.fct]p6:
19598 // C++11 [dcl.enum]p5: If the underlying type is fixed, [...] the
19638 // C++11 [dcl.enum]p5:
19671 // C++0x [dcl.enum]p5:
19693 // C++0x [dcl.enum]p5:
20094 // From [dcl.enum]p8
20173 // C++ [dcl.enum]p4: Following the closing brace of an
20196 // C++ [dcl.enum]p4: Following the closing brace of an