[NFC] Replace usage of QualType.getTypePtr()-> with operator->

llvm-svn: 336836
This commit is contained in:
Erich Keane 2018-07-11 19:09:21 +00:00
parent 5f70d9b958
commit 7481f75d76
1 changed files with 1 additions and 1 deletions

View File

@ -8253,7 +8253,7 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC,
bool &AddToScope) {
QualType R = TInfo->getType();
assert(R.getTypePtr()->isFunctionType());
assert(R->isFunctionType());
// TODO: consider using NameInfo for diagnostic.
DeclarationNameInfo NameInfo = GetNameForDeclarator(D);