Semantic Passes

Volt Semantics | Language Passes

Semantic passes transform the code and checks for errors.

See also

Classes

VoltLanguagePass Default implementation of LanguagePass, replace this if you wish to any of the semantics of the language.
CFGBuilder Builds and checks CFGs on Functions.
ExpFolder Folds any expressions into Constants.
ExTyper If type casting were to be strict, type T could only go to type T without an explicit cast. Implicit casts are places where the language deems automatic conversion safe enough to insert casts for the user.
IrVerifier This verifier is design to catch faulty IR (from the view of the backends) that the LanguagePass generate.