OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "wtf/Alignment.h" | 24 #include "wtf/Alignment.h" |
25 #include "wtf/ConditionalDestructor.h" | 25 #include "wtf/ConditionalDestructor.h" |
26 #include "wtf/ContainerAnnotations.h" | 26 #include "wtf/ContainerAnnotations.h" |
27 #include "wtf/DefaultAllocator.h" | 27 #include "wtf/DefaultAllocator.h" |
28 #include "wtf/FastAllocBase.h" | 28 #include "wtf/FastAllocBase.h" |
29 #include "wtf/Noncopyable.h" | 29 #include "wtf/Noncopyable.h" |
30 #include "wtf/NotFound.h" | 30 #include "wtf/NotFound.h" |
31 #include "wtf/StdLibExtras.h" | 31 #include "wtf/StdLibExtras.h" |
32 #include "wtf/VectorTraits.h" | 32 #include "wtf/VectorTraits.h" |
| 33 #include <algorithm> |
| 34 #include <iterator> |
33 #include <string.h> | 35 #include <string.h> |
34 #include <utility> | 36 #include <utility> |
35 | 37 |
36 // For ASAN builds, disable inline buffers completely as they cause various issu
es. | 38 // For ASAN builds, disable inline buffers completely as they cause various issu
es. |
37 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER | 39 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER |
38 #define INLINE_CAPACITY 0 | 40 #define INLINE_CAPACITY 0 |
39 #else | 41 #else |
40 #define INLINE_CAPACITY inlineCapacity | 42 #define INLINE_CAPACITY inlineCapacity |
41 #endif | 43 #endif |
42 | 44 |
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 struct NeedsTracing<Vector<T, N>> { | 1299 struct NeedsTracing<Vector<T, N>> { |
1298 static const bool value = false; | 1300 static const bool value = false; |
1299 }; | 1301 }; |
1300 #endif | 1302 #endif |
1301 | 1303 |
1302 } // namespace WTF | 1304 } // namespace WTF |
1303 | 1305 |
1304 using WTF::Vector; | 1306 using WTF::Vector; |
1305 | 1307 |
1306 #endif // WTF_Vector_h | 1308 #endif // WTF_Vector_h |
OLD | NEW |