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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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
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 "platform/wtf/Forward.h" 30 #include "platform/wtf/Forward.h"
26 #include "platform/wtf/HashFunctions.h" 31 #include "platform/wtf/HashFunctions.h"
27 #include "platform/wtf/HashTableDeletedValueType.h" 32 #include "platform/wtf/HashTableDeletedValueType.h"
28 #include "platform/wtf/StdLibExtras.h" 33 #include "platform/wtf/StdLibExtras.h"
29 #include "platform/wtf/TypeTraits.h" 34 #include "platform/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 <bool is_enum, typename T> 40 template <bool is_enum, typename T>
41 struct EnumOrGenericHashTraits; 41 struct EnumOrGenericHashTraits;
42 template <typename T> 42 template <typename T>
43 struct HashTraits; 43 struct HashTraits;
44 44
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 }; 435 };
436 436
437 } // namespace WTF 437 } // namespace WTF
438 438
439 using WTF::HashTraits; 439 using WTF::HashTraits;
440 using WTF::PairHashTraits; 440 using WTF::PairHashTraits;
441 using WTF::NullableHashTraits; 441 using WTF::NullableHashTraits;
442 using WTF::SimpleClassHashTraits; 442 using WTF::SimpleClassHashTraits;
443 443
444 #endif // WTF_HashTraits_h 444 #endif // WTF_HashTraits_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698