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

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

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 years, 9 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) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 /* NO_SANITIZE_UNRELATED_CAST - Disable runtime checks related to casts between 153 /* NO_SANITIZE_UNRELATED_CAST - Disable runtime checks related to casts between
154 * unrelated objects (-fsanitize=cfi-unrelated-cast or -fsanitize=vptr). */ 154 * unrelated objects (-fsanitize=cfi-unrelated-cast or -fsanitize=vptr). */
155 155
156 #if COMPILER(CLANG) 156 #if COMPILER(CLANG)
157 #define NO_SANITIZE_UNRELATED_CAST __attribute__((no_sanitize("cfi-unrelated-cas t", "vptr"))) 157 #define NO_SANITIZE_UNRELATED_CAST __attribute__((no_sanitize("cfi-unrelated-cas t", "vptr")))
158 #else 158 #else
159 #define NO_SANITIZE_UNRELATED_CAST 159 #define NO_SANITIZE_UNRELATED_CAST
160 #endif 160 #endif
161 161
162 /* WTF_NON_EXPORTED_BASE; similar NON_EXPORTED_BASE in base/compiler_specific.h */
163
164 #if COMPILER(MSVC)
165 #define WTF_NON_EXPORTED_BASE(code) __pragma(warning(suppress:4275)) code
166 #else
167 #define WTF_NON_EXPORTED_BASE(code) code
168 #endif
169
162 #endif /* WTF_Compiler_h */ 170 #endif /* WTF_Compiler_h */
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/web_tests.gyp ('k') | third_party/WebKit/public/platform/WebCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698