Update obsolete comments, fix typo, delete trailing space.
authorDouglas Katzman <dougk@google.com>
Thu, 14 May 2015 18:07:04 +0000 (18:07 +0000)
committerDouglas Katzman <dougk@google.com>
Thu, 14 May 2015 18:07:04 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237378 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/AlignOf.h

index f564fd353d8c7ded57db5fbd03cd8411d1f4fc87..574b514aef39b06b725f4c84783063daa3e1f3fd 100644 (file)
@@ -25,9 +25,9 @@ struct AlignmentCalcImpl {
 #if defined(_MSC_VER)
 // Disables "structure was padded due to __declspec(align())" warnings that are
 // generated by any class using AlignOf<T> with a manually specified alignment.
-// Although the warning is disabled in the LLVM project we need this pragma 
+// Although the warning is disabled in the LLVM project we need this pragma
 // as AlignOf.h is a published support header that's available for use
-// out-of-tree, and we would like that to ompile cleanly at /W4.
+// out-of-tree, and we would like that to compile cleanly at /W4.
 #pragma warning(suppress : 4324)
 #endif
   T t;
@@ -198,12 +198,12 @@ union SizerImpl {
 } // end namespace detail
 
 /// \brief This union template exposes a suitably aligned and sized character
-/// array member which can hold elements of any of up to four types.
+/// array member which can hold elements of any of up to ten types.
 ///
 /// These types may be arrays, structs, or any other types. The goal is to
 /// expose a char array buffer member which can be used as suitable storage for
-/// a placement new of any of these types. Support for more than seven types can
-/// be added at the cost of more boiler plate.
+/// a placement new of any of these types. Support for more than ten types can
+/// be added at the cost of more boilerplate.
 template <typename T1,
           typename T2 = char, typename T3 = char, typename T4 = char,
           typename T5 = char, typename T6 = char, typename T7 = char,