Remove the comma from the last enumerator to fix -pedantic warnings.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 02:17:36 +0000 (02:17 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Jan 2013 02:17:36 +0000 (02:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172999 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/TargetTransformInfo.h

index 6c9d5d727a8850376e6d579ab11d9613d5f5d84a..876082f8909460dbd66906b849312591ef68031b 100644 (file)
@@ -89,7 +89,7 @@ public:
   enum TargetCostConstants {
     TCC_Free = 0,       ///< Expected to fold away in lowering.
     TCC_Basic = 1,      ///< The cost of a typical 'add' instruction.
-    TCC_Expensive = 4,  ///< The cost of a 'div' instruction on x86.
+    TCC_Expensive = 4   ///< The cost of a 'div' instruction on x86.
   };
 
   /// \brief Estimate the cost of a specific operation when lowered.