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

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

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #define WTF_ANNOTATE_HAPPENS_AFTER(address) WTFAnnotateHappensAfter(__FILE__, __ LINE__, address) 76 #define WTF_ANNOTATE_HAPPENS_AFTER(address) WTFAnnotateHappensAfter(__FILE__, __ LINE__, address)
77 77
78 #ifdef __cplusplus 78 #ifdef __cplusplus
79 extern "C" { 79 extern "C" {
80 #endif 80 #endif
81 /* Don't use these directly, use the above macros instead. */ 81 /* Don't use these directly, use the above macros instead. */
82 WTF_EXPORT void WTFAnnotateBenignRaceSized(const char* file, int line, const vol atile void* memory, long size, const char* description); 82 WTF_EXPORT void WTFAnnotateBenignRaceSized(const char* file, int line, const vol atile void* memory, long size, const char* description);
83 WTF_EXPORT void WTFAnnotateHappensBefore(const char* file, int line, const volat ile void* address); 83 WTF_EXPORT void WTFAnnotateHappensBefore(const char* file, int line, const volat ile void* address);
84 WTF_EXPORT void WTFAnnotateHappensAfter(const char* file, int line, const volati le void* address); 84 WTF_EXPORT void WTFAnnotateHappensAfter(const char* file, int line, const volati le void* address);
85 #ifdef __cplusplus 85 #ifdef __cplusplus
86 } // extern "C" 86 } // extern "C"
87 #endif 87 #endif
88 88
89 #else // USE(DYNAMIC_ANNOTATIONS) 89 #else // USE(DYNAMIC_ANNOTATIONS)
90 /* These macros are empty when dynamic annotations are not enabled so you can 90 /* These macros are empty when dynamic annotations are not enabled so you can
91 * use them without affecting the performance of release binaries. */ 91 * use them without affecting the performance of release binaries. */
92 #define WTF_ANNOTATE_BENIGN_RACE_SIZED(address, size, description) 92 #define WTF_ANNOTATE_BENIGN_RACE_SIZED(address, size, description)
93 #define WTF_ANNOTATE_BENIGN_RACE(pointer, description) 93 #define WTF_ANNOTATE_BENIGN_RACE(pointer, description)
94 #define WTF_ANNOTATE_HAPPENS_BEFORE(address) 94 #define WTF_ANNOTATE_HAPPENS_BEFORE(address)
95 #define WTF_ANNOTATE_HAPPENS_AFTER(address) 95 #define WTF_ANNOTATE_HAPPENS_AFTER(address)
96 #endif // USE(DYNAMIC_ANNOTATIONS) 96 #endif // USE(DYNAMIC_ANNOTATIONS)
97 97
98 #endif // WTF_DynamicAnnotations_h 98 #endif // WTF_DynamicAnnotations_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/DoublyLinkedList.h ('k') | third_party/WebKit/Source/wtf/DynamicAnnotations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698