From 3c9019d08fe2c93a5c8a3aeba614dd4a3244f5b2 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Wed, 10 Oct 2012 01:48:52 +0000 Subject: [PATCH] Adding comments to clarify the reason for non-standard style in these files. Patch committed on behalf of Kirill Uhanov git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165589 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../IntelJITEvents/ittnotify_config.h | 5 ++++ .../IntelJITEvents/ittnotify_types.h | 23 ++++++++++++------- .../IntelJITEvents/jitprofiling.c | 5 ++++ .../IntelJITEvents/jitprofiling.h | 5 ++++ 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h b/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h index 238065fe0a8..1f029fb1c45 100644 --- a/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h +++ b/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h @@ -10,6 +10,11 @@ * This file provides Intel(R) Performance Analyzer JIT (Just-In-Time) * Profiling API internal config. * + * NOTE: This file comes in a style different from the rest of LLVM + * source base since this is a piece of code shared from Intel(R) + * products. Please do not reformat / re-style this code to make + * subsequent merges and contributions from the original source base eaiser. + * *===----------------------------------------------------------------------===*/ #ifndef _ITTNOTIFY_CONFIG_H_ #define _ITTNOTIFY_CONFIG_H_ diff --git a/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h b/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h index 5d502ba8e85..5df752f66f1 100644 --- a/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h +++ b/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h @@ -1,11 +1,18 @@ -//===-- ittnotify_types.h - Intel(R) Performance Analyzer JIT (Just-In-Time) Profiling API internal types. ---------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// +/*===-- ittnotify_types.h - JIT Profiling API internal types--------*- C -*-===* + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + *===----------------------------------------------------------------------===* + * + * NOTE: This file comes in a style different from the rest of LLVM + * source base since this is a piece of code shared from Intel(R) + * products. Please do not reformat / re-style this code to make + * subsequent merges and contributions from the original source base eaiser. + * + *===----------------------------------------------------------------------===*/ #ifndef _ITTNOTIFY_TYPES_H_ #define _ITTNOTIFY_TYPES_H_ diff --git a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c index 9b0dafbdcae..7b507de864c 100644 --- a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c +++ b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c @@ -10,6 +10,11 @@ * This file provides Intel(R) Performance Analyzer JIT (Just-In-Time) * Profiling API implementation. * + * NOTE: This file comes in a style different from the rest of LLVM + * source base since this is a piece of code shared from Intel(R) + * products. Please do not reformat / re-style this code to make + * subsequent merges and contributions from the original source base eaiser. + * *===----------------------------------------------------------------------===*/ #include "ittnotify_config.h" diff --git a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h index f33fb83ba97..f08e2870dce 100644 --- a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h +++ b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h @@ -10,6 +10,11 @@ * This file provides Intel(R) Performance Analyzer JIT (Just-In-Time) * Profiling API declaration. * + * NOTE: This file comes in a style different from the rest of LLVM + * source base since this is a piece of code shared from Intel(R) + * products. Please do not reformat / re-style this code to make + * subsequent merges and contributions from the original source base eaiser. + * *===----------------------------------------------------------------------===*/ #ifndef __JITPROFILING_H__ #define __JITPROFILING_H__