aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-01-14 17:23:10 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-01-14 17:23:10 +0000
commit7268c8b92de18c06f92b1986ea9730c7708997cf (patch)
tree438d0a2fbbb9d0acc59e201a90e3900664531ef0
parent527610d92b4becc41b8611fbc3952d727f7cac12 (diff)
Move the inline array to the end.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148192 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Sema/Overload.h7
1 files changed, 4 insertions, 3 deletions
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 &);