Skip to content
  • Sébastien Villemot's avatar
    Macro processor: make more node classes immutable · c4f331c7
    Sébastien Villemot authored
    Since the node classes are stored and copied as std::shared_ptr, a given class
    instance can actually be shared by two different expressions. Hence, in order
    to prevent weird bugs, it’s necessary to make these classes immutable.
    
    This commit deals with the easy cases.
    
    The remaining (and more complex) ones are:
    — Variable
    — Array
    — Include
    — IncludePath
    c4f331c7