[Xray] fix c99 warning build about flexible array semantics

Reviewers: dberris

Reviewed By: dberris

Differential Revision: https://reviews.llvm.org/D49590

llvm-svn: 337536
This commit is contained in:
David Carlier 2018-07-20 09:22:22 +00:00
parent 4bec7d4261
commit 12be7b7bf7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ template <class T> class Array {
// We want each segment of the array to be cache-line aligned, and elements of
// the array be offset from the beginning of the segment.
struct Segment : SegmentBase {
char Data[];
char Data[1];
};
public: