Searched refs:AutoRange (Results 1 – 2 of 2) sorted by relevance
2932 SourceRange AutoRange = D.getDeclSpec().getTypeSpecTypeLoc(); in GetDeclSpecTypeForDeclarator() local2934 AutoRange = D.getName().getSourceRange(); in GetDeclSpecTypeForDeclarator()2944 SemaRef.Diag(AutoRange.getBegin(), diag::err_auto_not_allowed) in GetDeclSpecTypeForDeclarator()2945 << Keyword << Error << AutoRange; in GetDeclSpecTypeForDeclarator()2951 SemaRef.Diag(AutoRange.getBegin(), in GetDeclSpecTypeForDeclarator()2953 << AutoRange; in GetDeclSpecTypeForDeclarator()
3466 SourceRange AutoRange = D.getDeclSpec().getTypeSpecTypeLoc(); in GetDeclSpecTypeForDeclarator() local3468 AutoRange = D.getName().getSourceRange(); in GetDeclSpecTypeForDeclarator()3487 SemaRef.Diag(AutoRange.getBegin(), diag::err_auto_not_allowed) in GetDeclSpecTypeForDeclarator()3489 << QualType(Deduced, 0) << AutoRange; in GetDeclSpecTypeForDeclarator()3498 SemaRef.Diag(AutoRange.getBegin(), in GetDeclSpecTypeForDeclarator()3504 << AutoRange; in GetDeclSpecTypeForDeclarator()