OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a8bf42
)
Clarify that the NextPowerOfTwo template is idempotent.
author
Duncan Sands
<baldrick@free.fr>
Wed, 30 Jun 2010 15:29:46 +0000
(15:29 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Wed, 30 Jun 2010 15:29:46 +0000
(15:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107286
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallPtrSet.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallPtrSet.h
b/include/llvm/ADT/SmallPtrSet.h
index
2af9c02
..
5326d69
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;