From: Benjamin Kramer Date: Sat, 14 Jan 2012 17:23:10 +0000 (+0000) Subject: Move the inline array to the end. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7268c8b92de18c06f92b1986ea9730c7708997cf;p=clang Move the inline array to the end. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/Overload.h b/include/clang/Sema/Overload.h index b1f337dd60..c0660508ce 100644 --- a/include/clang/Sema/Overload.h +++ b/include/clang/Sema/Overload.h @@ -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 &);