Searched refs:decl (Results 1 – 4 of 4) sorted by relevance
38 static bool shouldMangle(MangleContext* mangler, NamedDecl* decl) { in shouldMangle() argument41 if (auto FD = dyn_cast<FunctionDecl>(decl)) { in shouldMangle()51 return mangler->shouldMangleDeclName(decl); in shouldMangle()66 std::string getDeclName(NamedDecl* decl) { in getDeclName() argument67 if (auto var_decl = dyn_cast<VarDecl>(decl)) { in getDeclName()74 if (auto asm_attr = decl->getAttr<AsmLabelAttr>()) { in getDeclName()79 if (auto identifier = decl->getIdentifier()) { in getDeclName()80 if (shouldMangle(mangler.get(), decl)) { in getDeclName()83 mangler->mangleName(decl, ss); in getDeclName()93 bool VisitDeclaratorDecl(DeclaratorDecl* decl, SourceRange range) { in VisitDeclaratorDecl() argument[all …]
264 static std::set<CompilationType> getCompilationTypes(const Declaration* decl) { in getCompilationTypes() argument266 for (const auto& it : decl->availability) { in getCompilationTypes()292 const Declaration* decl = &decl_it.second; in checkSymbol() local293 if (decl->is_definition) { in checkSymbol()294 std::set<CompilationType> compilation_types = getCompilationTypes(decl); in checkSymbol()301 decl->dump(cwd, stderr, 4); in checkSymbol()307 inline_definitions[decl] = std::move(compilation_types); in checkSymbol()311 if (!decl->calculateAvailability(&availability)) { in checkSymbol()313 decl->dump(cwd, stderr, 2); in checkSymbol()317 if (decl->is_definition && !availability.empty()) { in checkSymbol()[all …]
420 const Declaration& decl = decl_it.second; in preprocessHeaders() local422 if (decl.no_guard) { in preprocessHeaders()427 DeclarationAvailability macro_guard = calculateRequiredGuard(decl); in preprocessHeaders()
26 decl %edx36 decl %edx46 decl %edx56 decl %edx66 decl %edx76 decl %edx86 decl %edx96 decl %edx