[llvm-commits] [llvm] r115463 - /llvm/trunk/include/llvm/ADT/SmallVector.h
Duncan Sands
baldrick at free.fr
Sun Oct 3 08:31:50 PDT 2010
Author: baldrick
Date: Sun Oct 3 10:31:50 2010
New Revision: 115463
URL: http://llvm.org/viewvc/llvm-project?rev=115463&view=rev
Log:
GCC extensions are no longer used here - update the comment.
Modified:
llvm/trunk/include/llvm/ADT/SmallVector.h
Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=115463&r1=115462&r2=115463&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Sun Oct 3 10:31:50 2010
@@ -57,8 +57,8 @@
// Allocate raw space for N elements of type T. If T has a ctor or dtor, we
// don't want it to be automatically run, so we need to represent the space as
// something else. An array of char would work great, but might not be
- // aligned sufficiently. Instead, we either use GCC extensions, or some
- // number of union instances for the space, which guarantee maximal alignment.
+ // aligned sufficiently. Instead we use some number of union instances for
+ // the space, which guarantee maximal alignment.
union U {
double D;
long double LD;
More information about the llvm-commits
mailing list