[NFC][Clang] Fix a couple of typos
This commit is contained in:
parent
1e569e3b7b
commit
fda7d029e5
|
@ -5803,7 +5803,7 @@ static bool isPtrOperatorToken(tok::TokenKind Kind, const LangOptions &Lang,
|
|||
}
|
||||
|
||||
// Indicates whether the given declarator is a pipe declarator.
|
||||
static bool isPipeDeclerator(const Declarator &D) {
|
||||
static bool isPipeDeclarator(const Declarator &D) {
|
||||
const unsigned NumTypes = D.getNumTypeObjects();
|
||||
|
||||
for (unsigned Idx = 0; Idx != NumTypes; ++Idx)
|
||||
|
@ -5896,7 +5896,7 @@ void Parser::ParseDeclaratorInternal(Declarator &D,
|
|||
|
||||
tok::TokenKind Kind = Tok.getKind();
|
||||
|
||||
if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) {
|
||||
if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclarator(D)) {
|
||||
DeclSpec DS(AttrFactory);
|
||||
ParseTypeQualifierListOpt(DS);
|
||||
|
||||
|
|
|
@ -4280,7 +4280,7 @@ DeclResult Sema::ActOnVarTemplateSpecialization(
|
|||
bool IsPartialSpecialization) {
|
||||
// D must be variable template id.
|
||||
assert(D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId &&
|
||||
"Variable template specialization is declared with a template it.");
|
||||
"Variable template specialization is declared with a template id.");
|
||||
|
||||
TemplateIdAnnotation *TemplateId = D.getName().TemplateId;
|
||||
TemplateArgumentListInfo TemplateArgs =
|
||||
|
|
Loading…
Reference in a new issue