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

Side by Side Diff: third_party/cld/base/dynamic_annotations.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines dynamic annotations for use with dynamic analysis 5 // This file defines dynamic annotations for use with dynamic analysis
6 // tool such as valgrind, PIN, etc. 6 // tool such as valgrind, PIN, etc.
7 // 7 //
8 // Dynamic annotation is a source code annotation that affects 8 // Dynamic annotation is a source code annotation that affects
9 // the generated code (that is, the annotation is not a comment). 9 // the generated code (that is, the annotation is not a comment).
10 // Each such annotation is attached to a particular 10 // Each such annotation is attached to a particular
11 // instruction and/or to a particular object (address) in the program. 11 // instruction and/or to a particular object (address) in the program.
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 #define ANNOTATE_UNPROTECTED_READ(x) (x) 349 #define ANNOTATE_UNPROTECTED_READ(x) (x)
350 #define ANNOTATE_BENIGN_RACE_STATIC(static_var, description) // empty 350 #define ANNOTATE_BENIGN_RACE_STATIC(static_var, description) // empty
351 351
352 #endif // !NDEBUG 352 #endif // !NDEBUG
353 353
354 // Return non-zero value if running under valgrind. 354 // Return non-zero value if running under valgrind.
355 extern "C" int RunningOnValgrind(); 355 extern "C" int RunningOnValgrind();
356 356
357 357
358 #endif // BASE_DYNAMIC_ANNOTATIONS_H_ 358 #endif // BASE_DYNAMIC_ANNOTATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698