From 10bc2b456af864faae4f86ba1f899064c20f08f1 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 llvm-svn: 165589 --- .../IntelJITEvents/ittnotify_config.h | 5 +++++ .../IntelJITEvents/ittnotify_types.h | 23 ++++++++++++++-------- .../ExecutionEngine/IntelJITEvents/jitprofiling.c | 5 +++++ .../ExecutionEngine/IntelJITEvents/jitprofiling.h | 5 +++++ 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h b/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h index 238065f..1f029fb 100644 --- a/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h +++ b/llvm/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/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h b/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h index 5d502ba..5df752f 100644 --- a/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h +++ b/llvm/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/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c b/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c index 9b0dafb..7b507de 100644 --- a/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c +++ b/llvm/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/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h b/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h index f33fb83..f08e287 100644 --- a/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h +++ b/llvm/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__ -- 2.7.4