зеркало из https://github.com/microsoft/clang-1.git
fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
e9a0f43927
Коммит
00c028b4a1
|
@ -38,7 +38,7 @@ bool Parser::MaybeParseCXXScopeSpecifier(CXXScopeSpec &SS) {
|
||||||
(Tok.isNot(tok::identifier) || NextToken().isNot(tok::coloncolon)))
|
(Tok.isNot(tok::identifier) || NextToken().isNot(tok::coloncolon)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// ::new and ::delete aren'T nested-name-specifiers, so parsing the :: as
|
// ::new and ::delete aren't nested-name-specifiers, so parsing the :: as
|
||||||
// a scope specifier only makes things more complicated.
|
// a scope specifier only makes things more complicated.
|
||||||
if (Tok.is(tok::coloncolon) && (NextToken().is(tok::kw_new) ||
|
if (Tok.is(tok::coloncolon) && (NextToken().is(tok::kw_new) ||
|
||||||
NextToken().is(tok::kw_delete)))
|
NextToken().is(tok::kw_delete)))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче