зеркало из https://github.com/microsoft/clang-1.git
Correct the spelling of instantiation
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132901 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
fe4f3fcfa1
Коммит
56dde4ac56
|
@ -304,7 +304,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) {
|
|||
ColonLoc = ConsumeToken();
|
||||
} else {
|
||||
// Otherwise, we're missing a ':'. Assume that this was a typo that the
|
||||
// user forgot. If we're not in a macro instantion, we can suggest a
|
||||
// user forgot. If we're not in a macro instantiation, we can suggest a
|
||||
// fixit hint. If there were two spaces before the current token,
|
||||
// suggest inserting the colon in between them, otherwise insert ": ".
|
||||
SourceLocation FILoc = Tok.getLocation();
|
||||
|
|
Загрузка…
Ссылка в новой задаче