Skip to content
Snippets Groups Projects
Verified Commit c4f331c7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Macro processor: make more node classes immutable

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
parent 46a7cf5d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment