Lines Matching refs:Dcl
1848 // C++ [dcl.typedef]p2:
1855 // C++0x [dcl.typedef]p4:
1980 // C++11 [dcl.align]p6 and C11 6.7.5/7 both come close to saying this, but
2008 // C++11 [dcl.align]p6:
2167 // C++11 [dcl.align]p6:
2255 // C++11 [dcl.attr.depend]p2:
2576 // per C++1y [dcl.type.auto]p13:
2697 // C++11 [dcl.attr.noreturn]p1:
2708 // C++11 [dcl.attr.depend]p2:
3070 // C++11 [dcl.array]p3:
3162 // [dcl.stc]p8: Check if we have a non-static decl followed by a static.
3353 // C++0x [dcl.constexpr]p1: constexpr can only be applied to declarations
3382 // Per C++ [dcl.type.elab]p1, a class declaration cannot have a
3385 // Per C++ [dcl.enum]p1, an opaque-enum-declaration can't either.
3460 // C++ [dcl.dcl]p3:
3472 // C++ [dcl.stc]p1:
3475 // C++ [dcl.fct.spec]p1:
4241 Decl *Dcl = HandleDeclarator(S, D, MultiTemplateParamsArg());
4244 Dcl && Dcl->getDeclContext()->isFileContext())
4245 Dcl->setTopLevelDeclInObjCContainer();
4247 return Dcl;
4351 // C++11 [dcl.meaning]p1:
4487 // C++ [dcl.meaning]p1:
4509 // C++ [dcl.meaning]p1:
4530 // typedef (C++ [dcl.typedef]p4).
4754 // Typedef declarators cannot be qualified (C++ [dcl.meaning]p1).
4830 /// a C++0x [dcl.typedef]p2 alias-declaration: 'using T = A;'.
5344 // [dcl.stc] p2: The auto or register specifiers shall be applied only
5346 // [dcl.stc] p6: The extern specifier cannot be used in the declaration
5490 // C++11 [dcl.stc]p4:
5633 // affects whether we merge types with it, per C++11 [dcl.array]p3.
5654 // out-of-line (C++ [dcl.meaning]p1).
5906 /// Per C++ [dcl.link]p6:
6050 // C++98 [dcl.stc]p5: The extern specifier can be applied only to the names
6444 // See also (C++ [dcl.stc]p4).
6951 // C++ [dcl.fct.spec]p5:
6999 // C++ [dcl.fct.spec]p3:
7011 // C++ [dcl.fct.spec]p6:
7032 // C++11 [dcl.constexpr]p2: constexpr functions and constexpr constructors
7036 // C++11 [dcl.constexpr]p3: functions declared constexpr are required to
7353 // C++ [dcl.stc]p1:
7725 // C++11 [dcl.constexpr]p8:
8259 /// declaration dcl. If DirectInit is true, this is C++ direct
8766 // C++11 [dcl.spec.auto]p3
8777 // C++11 [dcl.constexpr]p1: The constexpr specifier shall be applied only to
8920 // C++11 [stmt.dcl]p3
8939 // C++03 [dcl.init]p9:
8950 // C++0x [dcl.init]p11:
9349 // C++0x [dcl.spec.auto]p7:
9444 // C++03 [dcl.stc]p2 also permits 'auto'.
9474 // Parameter declarators cannot be qualified (C++ [dcl.meaning]p1).
9894 // (C99 6.9.1p3, C++ [dcl.fct]p6).
10076 Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt *Body,
10078 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr;
10092 Diag(dcl->getLocation(), diag::err_auto_fn_no_return_but_not_auto)
10147 } else if (ObjCMethodDecl *MD = dyn_cast_or_null<ObjCMethodDecl>(dcl)) {
10217 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) {
10233 !isa<FunctionTemplateDecl>(dcl)) {
10253 PopFunctionScopeInfo(ActivePolicy, dcl);
10261 return dcl;
10493 // C++ [dcl.typedef]p8:
10635 // C++ [dcl.type.elab]p3:
11357 // C++11 [dcl.type]p3:
11428 // C++ [dcl.fct]p6:
12702 // C++11 [dcl.enum]p5: If the underlying type is fixed, [...] the
12734 // C++11 [dcl.enum]p5:
12765 // C++0x [dcl.enum]p5:
12787 // C++0x [dcl.enum]p5:
13275 // C++ [dcl.enum]p4: Following the closing brace of an
13300 // C++ [dcl.enum]p4: Following the closing brace of an