Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/Source/wtf/HashTraits.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/HashTable.h ('k') | third_party/WebKit/Source/wtf/LinkedStack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef WTF_HashTraits_h 22 #ifndef WTF_HashTraits_h
23 #define WTF_HashTraits_h 23 #define WTF_HashTraits_h
24 24
25 #include <string.h> // For memset.
26 #include <limits>
27 #include <memory>
28 #include <type_traits>
29 #include <utility>
25 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
26 #include "wtf/HashFunctions.h" 31 #include "wtf/HashFunctions.h"
27 #include "wtf/HashTableDeletedValueType.h" 32 #include "wtf/HashTableDeletedValueType.h"
28 #include "wtf/StdLibExtras.h" 33 #include "wtf/StdLibExtras.h"
29 #include "wtf/TypeTraits.h" 34 #include "wtf/TypeTraits.h"
30 #include <limits>
31 #include <memory>
32 #include <string.h> // For memset.
33 #include <type_traits>
34 #include <utility>
35 35
36 namespace WTF { 36 namespace WTF {
37 37
38 template <bool isInteger, typename T> 38 template <bool isInteger, typename T>
39 struct GenericHashTraitsBase; 39 struct GenericHashTraitsBase;
40 template <typename T> 40 template <typename T>
41 struct HashTraits; 41 struct HashTraits;
42 42
43 enum ShouldWeakPointersBeMarkedStrongly { 43 enum ShouldWeakPointersBeMarkedStrongly {
44 WeakPointersActStrong, 44 WeakPointersActStrong,
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 }; 420 };
421 421
422 } // namespace WTF 422 } // namespace WTF
423 423
424 using WTF::HashTraits; 424 using WTF::HashTraits;
425 using WTF::PairHashTraits; 425 using WTF::PairHashTraits;
426 using WTF::NullableHashTraits; 426 using WTF::NullableHashTraits;
427 using WTF::SimpleClassHashTraits; 427 using WTF::SimpleClassHashTraits;
428 428
429 #endif // WTF_HashTraits_h 429 #endif // WTF_HashTraits_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/HashTable.h ('k') | third_party/WebKit/Source/wtf/LinkedStack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698