Home | History | Annotate | Download | only in Symbol

Lines Matching refs:decl

1063 clang::Decl *
1066 clang::Decl *source_decl)
1103 ClangASTContext::GetTypeForDecl (TagDecl *decl)
1106 // if it isn't created yet, because we can't have created a decl in this
1110 return ClangASTType (ast, ast->getTagDeclType(decl).getAsOpaquePtr());
1115 ClangASTContext::GetTypeForDecl (ObjCInterfaceDecl *decl)
1118 // if it isn't created yet, because we can't have created a decl in this
1122 return ClangASTType (ast, ast->getObjCInterfaceType(decl).getAsOpaquePtr());
1155 CXXRecordDecl *decl = CXXRecordDecl::Create (*ast,
1162 if (decl)
1165 SetMetadata(ast, decl, *metadata);
1168 decl->setAccess (ConvertAccessTypeToAccessSpecifier (access_type));
1171 decl_ctx->addDecl (decl);
1173 return ClangASTType(ast, ast->getTagDeclType(decl).getAsOpaquePtr());
1197 ast->getTranslationUnitDecl(), // Is this the right decl context?, SourceLocation StartLoc,
1211 ast->getTranslationUnitDecl(), // Is this the right decl context?
1256 // TODO: verify which decl context we should put template_param_decls into..
1296 for (NamedDecl *decl : result)
1298 class_template_decl = dyn_cast<clang::ClassTemplateDecl>(decl);
1311 decl_ctx, // What decl context do we use here? TU? The actual decl context?
1329 decl_ctx, // What decl context do we use here? TU? The actual decl context?
1746 ObjCInterfaceDecl *decl = ObjCInterfaceDecl::Create (*ast,
1755 if (decl && metadata)
1756 SetMetadata(ast, decl, *metadata);
1758 return ClangASTType (ast, ast->getObjCInterfaceType(decl));
1812 for (NamedDecl *decl : result)
1814 namespace_decl = dyn_cast<clang::NamespaceDecl>(decl);
1876 // If we make it here, we are creating the anonymous namespace decl
2052 const Declaration &decl,
2149 clang::Decl *decl)
2151 if (!decl)
2159 if (clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(decl))
2171 else if (clang::ObjCInterfaceDecl *objc_interface_decl = llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl))