[polly] r177444 - ScopDetect: Remove some redundant semicolons

Tobias Grosser grosser at fim.uni-passau.de
Tue Mar 19 14:44:07 PDT 2013


Author: grosser
Date: Tue Mar 19 16:44:07 2013
New Revision: 177444

URL: http://llvm.org/viewvc/llvm-project?rev=177444&view=rev
Log:
ScopDetect: Remove some redundant semicolons

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=177444&r1=177443&r2=177444&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Mar 19 16:44:07 2013
@@ -109,7 +109,7 @@ STATISTIC(ValidRegion, "Number of region
     if (!Context.Verifying)                                                    \
       ++Bad##NAME##ForScop;                                                    \
     return false;                                                              \
-  } while (0);
+  } while (0)
 
 #define INVALID_NOVERIFY(NAME, MESSAGE)                                        \
   do {                                                                         \
@@ -124,7 +124,7 @@ STATISTIC(ValidRegion, "Number of region
     if (!Context.Verifying)                                                    \
       ++Bad##NAME##ForScop;                                                    \
     return false;                                                              \
-  } while (0);
+  } while (0)
 
 BADSCOP_STAT(CFG, "CFG too complex");
 BADSCOP_STAT(IndVar, "Non canonical induction variable in loop");
@@ -306,7 +306,7 @@ bool ScopDetection::isValidMemoryAccess(
         break;
     }
 
-    INVALID_NOVERIFY(Alias, OS.str())
+    INVALID_NOVERIFY(Alias, OS.str());
   }
 
   return true;





More information about the llvm-commits mailing list