Lines Matching refs:StaticLoc
6092 SourceLocation StaticLoc; in ParseBracketDeclarator() local
6093 TryConsumeToken(tok::kw_static, StaticLoc); in ParseBracketDeclarator()
6102 if (!StaticLoc.isValid()) in ParseBracketDeclarator()
6103 TryConsumeToken(tok::kw_static, StaticLoc); in ParseBracketDeclarator()
6116 if (StaticLoc.isValid()) { in ParseBracketDeclarator()
6117 Diag(StaticLoc, diag::err_unspecified_vla_size_with_static); in ParseBracketDeclarator()
6118 StaticLoc = SourceLocation(); // Drop the static. in ParseBracketDeclarator()
6138 if (StaticLoc.isValid()) { in ParseBracketDeclarator()
6139 Diag(StaticLoc, diag::err_unspecified_size_with_static); in ParseBracketDeclarator()
6140 StaticLoc = SourceLocation(); // Drop the static. in ParseBracketDeclarator()
6159 StaticLoc.isValid(), isStar, in ParseBracketDeclarator()