Index: src/AST/Expr.hpp
===================================================================
--- src/AST/Expr.hpp	(revision c15085d61a6b626ea93abfe66835758c4493d486)
+++ src/AST/Expr.hpp	(revision aebf5b06ce02ccc1e53da100979d710879fe0d6c)
@@ -114,5 +114,5 @@
 		ResnSlots& resnSlots() {
 			switch (mode) {
-			case Empty: new(&data.resnSlots) ResnSlots{}; mode = Slots; // fallthrough
+			case Empty: new(&data.resnSlots) ResnSlots{}; mode = Slots; [[fallthrough]];
 			case Slots: return data.resnSlots;
 			case Params: assertf(false, "Cannot return to resnSlots from Params"); abort();
@@ -131,6 +131,6 @@
 		InferredParams& inferParams() {
 			switch (mode) {
-			case Slots: data.resnSlots.~ResnSlots(); // fallthrough
-			case Empty: new(&data.inferParams) InferredParams{}; mode = Params; // fallthrough
+			case Slots: data.resnSlots.~ResnSlots(); [[fallthrough]];
+			case Empty: new(&data.inferParams) InferredParams{}; mode = Params; [[fallthrough]];
 			case Params: return data.inferParams;
 			}
@@ -150,5 +150,5 @@
 			case Slots:
 				data.resnSlots.~ResnSlots();
-				// fallthrough
+				[[fallthrough]];
 			case Empty:
 				new(&data.inferParams) InferredParams{ std::move( ps ) };
Index: src/AST/Pass.proto.hpp
===================================================================
--- src/AST/Pass.proto.hpp	(revision c15085d61a6b626ea93abfe66835758c4493d486)
+++ src/AST/Pass.proto.hpp	(revision aebf5b06ce02ccc1e53da100979d710879fe0d6c)
@@ -247,10 +247,10 @@
 
 	template< typename pass_t >
-	static inline auto beginTrace(pass_t & pass, int) -> decltype( pass_t::traceId, void() ) {
+	static inline auto beginTrace(pass_t &, int) -> decltype( pass_t::traceId, void() ) {
 		Stats::Heap::stacktrace_push(pass_t::traceId);
 	}
 
-	template< typename pass_t > 
-	static inline auto endTrace(pass_t & pass, int) -> decltype( pass_t::traceId, void() ) {
+	template< typename pass_t >
+	static inline auto endTrace(pass_t &, int) -> decltype( pass_t::traceId, void() ) {
 		Stats::Heap::stacktrace_pop();
 	}
