summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-02-03 17:51:16 +0000
committerXinliang David Li <davidxl@google.com>2016-02-03 17:51:16 +0000
commitae2556f7ee8937926c66f43cfd789bfc2dee2a97 (patch)
tree9f5037b9c1bfca4a662da7d54eac3231316eeed5
parent105e892c2cf68605453cd3b5147a0f8ee31d8784 (diff)
downloadbcm5719-llvm-ae2556f7ee8937926c66f43cfd789bfc2dee2a97.tar.gz
bcm5719-llvm-ae2556f7ee8937926c66f43cfd789bfc2dee2a97.zip
Fix comments /NFC
llvm-svn: 259672
-rw-r--r--llvm/include/llvm/ProfileData/InstrProf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/ProfileData/InstrProf.h b/llvm/include/llvm/ProfileData/InstrProf.h
index b1357f29c5d..b54fb84b6bb 100644
--- a/llvm/include/llvm/ProfileData/InstrProf.h
+++ b/llvm/include/llvm/ProfileData/InstrProf.h
@@ -735,8 +735,9 @@ struct Summary {
MinBlockCount; ///< The minimum execution count for this percentile.
uint64_t NumBlocks; ///< Number of blocks >= the minumum execution count.
};
- // New field kind to existing enum value mapping should remain unchanged
- // when new kind is added in the future.
+ // The field kind enumerator to assigned value mapping should remain
+ // unchanged when a new kind is added or an old kind gets deleted in
+ // the future.
enum SummaryFieldKind {
/// The total number of functions instrumented.
TotalNumFunctions = 0,
OpenPOWER on IntegriCloud