Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the type of globals to pointer-of-the-type.
authorpini <pini@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 17 Jan 2011 11:27:39 +0000 (11:27 +0000)
committerpini <pini@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 17 Jan 2011 11:27:39 +0000 (11:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9417 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/smpi/replace_globals.cocci

index f93cafc..591f27d 100644 (file)
@@ -33,11 +33,13 @@ expression E;
 @@
 (
 T 
 @@
 (
 T 
++ *
 b@p
 + = SMPI_INITIALIZE_GLOBAL(b, T)
 ;
 |
 b@p
 + = SMPI_INITIALIZE_GLOBAL(b, T)
 ;
 |
-T 
+T
++ *
 b@p = 
 + SMPI_INITIALIZE_AND_SET_GLOBAL(b, T,
 E
 b@p = 
 + SMPI_INITIALIZE_AND_SET_GLOBAL(b, T,
 E