From ebbae7936e03a0c06ef7226b1beffb18906ae3bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr>
Date: Mon, 6 Feb 2012 12:16:38 +0100
Subject: [PATCH] Preprocessor: add warning message for signature of checkPass
 method

---
 preprocessor/Statement.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/preprocessor/Statement.hh b/preprocessor/Statement.hh
index 5625c24fca..12101da056 100644
--- a/preprocessor/Statement.hh
+++ b/preprocessor/Statement.hh
@@ -110,6 +110,10 @@ class Statement
 public:
   virtual ~Statement();
   //! Do some internal check, and fill the ModFileStructure class
+  /*! Don't forget to update ComputingTasks.hh, Shocks.hh and
+    NumericalInitialization.hh if you modify the signature of this
+    method. Otherwise the default implementation (i.e. a no-op) will apply and
+    some checks won't be run. */
   virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
   virtual void computingPass();
   //! Write Matlab output code
-- 
GitLab