diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-14 17:23:10 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-14 17:23:10 +0000 |
| commit | 1f8f8a3e6410fe466227246c1490983bb5f78d4f (patch) | |
| tree | e0c5bf1d94dfce8b96bd626ee2fedbc0ef05d35b /clang | |
| parent | 90212bde1f7818337d62d09f48fae78a06619f25 (diff) | |
| download | bcm5719-llvm-1f8f8a3e6410fe466227246c1490983bb5f78d4f.tar.gz bcm5719-llvm-1f8f8a3e6410fe466227246c1490983bb5f78d4f.zip | |
Move the inline array to the end.
llvm-svn: 148192
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/Overload.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/include/clang/Sema/Overload.h b/clang/include/clang/Sema/Overload.h index b1f337dd605..c0660508ce9 100644 --- a/clang/include/clang/Sema/Overload.h +++ b/clang/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 &); |

