summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-21 02:17:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-21 02:17:36 +0000
commitc61aa59bcc62019b8e31fcbb3582255be3a63052 (patch)
tree2c7092feb80b15affa8bdaac4c780c8b8b11b44e /include
parent1e05bd9e714934a71ff933ad15f0b884808b405f (diff)
downloadllvm-c61aa59bcc62019b8e31fcbb3582255be3a63052.tar.gz
llvm-c61aa59bcc62019b8e31fcbb3582255be3a63052.tar.bz2
llvm-c61aa59bcc62019b8e31fcbb3582255be3a63052.tar.xz
Remove the comma from the last enumerator to fix -pedantic warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h
index 6c9d5d727a..876082f890 100644
--- a/include/llvm/Analysis/TargetTransformInfo.h
+++ b/include/llvm/Analysis/TargetTransformInfo.h
@@ -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.