Home | History | Annotate | Download | only in Sema

Lines Matching defs:Decls

1112   // Only warn for unused decls internal to the translation unit.
1242 "Scope shouldn't contain decls!");
1472 /// how to resolve this situation, merging decls or emitting
1730 /// merging decls or emitting diagnostics as appropriate.
1974 // duplicate function decls like "void f(int); void f(enum X);" properly.
2223 /// situation, merging decls or emitting diagnostics as appropriate.
3656 // Load locally-scoped external decls from the external source.
3657 SmallVector<NamedDecl *, 4> Decls;
3658 ExternalSource->ReadLocallyScopedExternalDecls(Decls);
3659 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
3661 = LocallyScopedExternalDecls.find(Decls[I]->getDeclName());
3663 LocallyScopedExternalDecls[Decls[I]->getDeclName()] = Decls[I];
4461 for (Path.Decls = BaseRecord->lookup(Name);
4462 Path.Decls.first != Path.Decls.second;
4463 ++Path.Decls.first) {
4464 NamedDecl *D = *Path.Decls.first;
5316 // and add to NewFD. This lets us track decls such 'enum Y' in:
5518 // Qualified decls generally require a previous declaration.
5585 // Handle attributes. We need to have merged decls when handling attributes
5862 // In C++, check default arguments now that we have merged decls. Unless
6275 // Get the decls type and save a reference for later, since
6852 SmallVector<Decl*, 8> Decls;
6855 Decls.push_back(DS.getRepAsDecl());
6859 Decls.push_back(D);
6861 return BuildDeclaratorGroup(Decls.data(), Decls.size(),
7331 // Some of these decls (like enums) may have been pinned to the translation unit
8477 // FIXME: Tag decls should be chained to any simultaneous vardecls, e.g.:
8521 // FIXME: Tag decls should be chained to any simultaneous vardecls, e.g.:
8651 // tag to the list of decls to inject into the function definition scope.