projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify that the NextPowerOfTwo template is idempotent.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallPtrSet.h
diff --git
a/include/llvm/ADT/SmallPtrSet.h
b/include/llvm/ADT/SmallPtrSet.h
index 2af9c0260ddda1f0c54b5a240376dd8d36a4dbc7..5326d69bdf53ec5d8265106145dd0fff8d3717ee 100644
(file)
--- a/
include/llvm/ADT/SmallPtrSet.h
+++ b/
include/llvm/ADT/SmallPtrSet.h
@@
-200,7
+200,7
@@
public:
};
/// NextPowerOfTwo - This is a helper template that rounds N up to the next
-/// power of two.
+/// power of two
(which means N itself if N is already a power of two)
.
template<unsigned N>
struct NextPowerOfTwo;