Ignore:
Timestamp:
Nov 8, 2023, 2:01:11 PM (8 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
3e4bf0d, f5ec35a
Parents:
790d835
Message:

Remove BaseSyntaxNode? and clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/FixMain.h

    r790d835 rc6b4432  
    2121
    2222#include "AST/LinkageSpec.hpp"
    23 #include "SynTree/LinkageSpec.h"
    2423
    25 class Declaration;
    26 class FunctionDecl;
    2724namespace ast {
    2825        class FunctionDecl;
     
    3431class FixMain {
    3532public :
    36         static inline LinkageSpec::Spec mainLinkage() {
    37                 return replace_main ? LinkageSpec::Cforall : LinkageSpec::C;
    38         }
    3933        static inline ast::Linkage::Spec getMainLinkage() {
    4034                return replace_main ? ast::Linkage::Cforall : ast::Linkage::C;
     
    4539        }
    4640
    47         static bool isMain(FunctionDecl* decl);
    4841        static bool isMain(const ast::FunctionDecl * decl);
    4942
    50         static void fix( std::list< Declaration * > & decls,
    51                         std::ostream &os, const char* bootloader_filename );
    5243        static void fix( ast::TranslationUnit & translationUnit,
    5344                        std::ostream &os, const char * bootloader_filename );
Note: See TracChangeset for help on using the changeset viewer.