diff options
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index 7c5464a4a30..00849a68812 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -1269,12 +1269,12 @@ addAssociatedClassesAndNamespaces(QualType T, Context, AssociatedNamespaces, AssociatedClasses); - const FunctionTypeProto *Proto = dyn_cast<FunctionTypeProto>(FunctionType); + const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FunctionType); if (!Proto) return; // Argument types - for (FunctionTypeProto::arg_type_iterator Arg = Proto->arg_type_begin(), + for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(), ArgEnd = Proto->arg_type_end(); Arg != ArgEnd; ++Arg) addAssociatedClassesAndNamespaces(*Arg, Context, |