[llvm] r237378 - Update obsolete comments, fix typo, delete trailing space.
Douglas Katzman
dougk at google.com
Thu May 14 11:07:04 PDT 2015
Author: dougk
Date: Thu May 14 13:07:04 2015
New Revision: 237378
URL: http://llvm.org/viewvc/llvm-project?rev=237378&view=rev
Log:
Update obsolete comments, fix typo, delete trailing space.
Modified:
llvm/trunk/include/llvm/Support/AlignOf.h
Modified: llvm/trunk/include/llvm/Support/AlignOf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/AlignOf.h?rev=237378&r1=237377&r2=237378&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/AlignOf.h (original)
+++ llvm/trunk/include/llvm/Support/AlignOf.h Thu May 14 13:07:04 2015
@@ -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,
More information about the llvm-commits
mailing list