]> granicus.if.org Git - clang/commitdiff
Move the inline array to the end.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 Jan 2012 17:23:10 +0000 (17:23 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 14 Jan 2012 17:23:10 +0000 (17:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148192 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Overload.h

index b1f337dd605918ca9bb72fd8d5aea8f1103fc7a8..c0660508ce95ea434f7854a8fb0f8b8bf08777d7 100644 (file)
@@ -697,11 +697,12 @@ namespace clang {
     // 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 &);