[polly] r304802 - [CodeGen] Remove extra ';'. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 08:56:51 PDT 2017


Author: meinersbur
Date: Tue Jun  6 10:56:50 2017
New Revision: 304802

URL: http://llvm.org/viewvc/llvm-project?rev=304802&view=rev
Log:
[CodeGen] Remove extra ';'. NFC.

Fix compiler warning:

polly/lib/CodeGen/PerfMonitor.cpp:81:2: warning: extra ‘;’ [-Wpedantic]
 };
  ^

Modified:
    polly/trunk/lib/CodeGen/PerfMonitor.cpp

Modified: polly/trunk/lib/CodeGen/PerfMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PerfMonitor.cpp?rev=304802&r1=304801&r2=304802&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PerfMonitor.cpp (original)
+++ polly/trunk/lib/CodeGen/PerfMonitor.cpp Tue Jun  6 10:56:50 2017
@@ -78,7 +78,7 @@ static void TryRegisterGlobal(Module *M,
     *Location = new GlobalVariable(
         *M, InitialValue->getType(), true, GlobalValue::WeakAnyLinkage,
         InitialValue, Name, nullptr, GlobalVariable::InitialExecTLSModel);
-};
+}
 
 // Generate a unique name that is usable as a LLVM name for a scop to name its
 // performance counter.




More information about the llvm-commits mailing list