From 2e502577ab3645ab5c54434671d299e35c2245cc Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 30 Jun 2010 15:29:46 +0000 Subject: [PATCH] Clarify that the NextPowerOfTwo template is idempotent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107286 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/SmallPtrSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/SmallPtrSet.h b/include/llvm/ADT/SmallPtrSet.h index 2af9c0260dd..5326d69bdf5 100644 --- 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 struct NextPowerOfTwo; -- 2.34.1