forked from OSchip/llvm-project
[NFC] Replace usage of QualType.getTypePtr()-> with operator->
llvm-svn: 336836
This commit is contained in:
parent
5f70d9b958
commit
7481f75d76
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue