Home
last modified time | relevance | path

Searched refs:CastName (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Parse/
DParseExprCXX.cpp1337 const char *CastName = nullptr; // For error messages in ParseCXXCasts() local
1341 case tok::kw_const_cast: CastName = "const_cast"; break; in ParseCXXCasts()
1342 case tok::kw_dynamic_cast: CastName = "dynamic_cast"; break; in ParseCXXCasts()
1343 case tok::kw_reinterpret_cast: CastName = "reinterpret_cast"; break; in ParseCXXCasts()
1344 case tok::kw_static_cast: CastName = "static_cast"; break; in ParseCXXCasts()
1358 if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName)) in ParseCXXCasts()
1377 if (T.expectAndConsume(diag::err_expected_lparen_after, CastName)) in ParseCXXCasts()