[cfe-commits] r148192 - /cfe/trunk/include/clang/Sema/Overload.h

Benjamin Kramer benny.kra at googlemail.com
Sat Jan 14 09:23:10 PST 2012


Author: d0k
Date: Sat Jan 14 11:23:10 2012
New Revision: 148192

URL: http://llvm.org/viewvc/llvm-project?rev=148192&view=rev
Log:
Move the inline array to the end.

Modified:
    cfe/trunk/include/clang/Sema/Overload.h

Modified: cfe/trunk/include/clang/Sema/Overload.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Overload.h?rev=148192&r1=148191&r2=148192&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Overload.h (original)
+++ cfe/trunk/include/clang/Sema/Overload.h Sat Jan 14 11:23:10 2012
@@ -697,11 +697,12 @@
     // Allocator for OverloadCandidate::Conversions. We store the first few
     // elements inline to avoid allocation for small sets.
     llvm::BumpPtrAllocator ConversionSequenceAllocator;
-    size_t InlineSpace[16*sizeof(ImplicitConversionSequence) / sizeof(size_t)];
+
+    SourceLocation Loc;
+
     unsigned NumInlineSequences;
+    char InlineSpace[16 * sizeof(ImplicitConversionSequence)];
 
-    SourceLocation Loc;    
-    
     OverloadCandidateSet(const OverloadCandidateSet &);
     OverloadCandidateSet &operator=(const OverloadCandidateSet &);
     





More information about the cfe-commits mailing list