From 22c0eceddcf986a9b3f853b36d855acb38fa678f Mon Sep 17 00:00:00 2001 From: Aliaksey Kandratsenka Date: Sun, 14 Feb 2021 16:29:14 -0800 Subject: [PATCH] add emacs mode line annotations to remaining files --- src/base/arm_instruction_set_select.h | 1 + src/base/dynamic_annotations.c | 1 + src/base/dynamic_annotations.h | 1 + src/base/linuxthreads.h | 1 + src/base/thread_annotations.h | 1 + src/base/thread_lister.c | 1 + src/base/vdso_support.cc | 1 + src/base/vdso_support.h | 1 + src/gperftools/heap-profiler.h | 2 +- src/gperftools/profiler.h | 2 +- src/gperftools/tcmalloc.h.in | 2 +- src/stacktrace_powerpc-darwin-inl.h | 1 + src/tests/stacktrace_unittest.cc | 1 + src/windows/addr2line-pdb.c | 1 + src/windows/config.h | 1 + src/windows/ia32_modrm_map.cc | 1 + src/windows/ia32_opcode_map.cc | 1 + src/windows/nm-pdb.c | 1 + src/windows/patch_functions.cc | 1 + src/windows/system-alloc.cc | 1 + 20 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/base/arm_instruction_set_select.h b/src/base/arm_instruction_set_select.h index 6fde685..77ff670 100644 --- a/src/base/arm_instruction_set_select.h +++ b/src/base/arm_instruction_set_select.h @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2011, Google Inc. // All rights reserved. // diff --git a/src/base/dynamic_annotations.c b/src/base/dynamic_annotations.c index 1d9fa5c..9b966a7 100644 --- a/src/base/dynamic_annotations.c +++ b/src/base/dynamic_annotations.c @@ -1,3 +1,4 @@ +// -*- Mode: c; c-basic-offset: 2; indent-tabs-mode: nil -*- /* Copyright (c) 2008-2009, Google Inc. * All rights reserved. * diff --git a/src/base/dynamic_annotations.h b/src/base/dynamic_annotations.h index 196602e..af94452 100644 --- a/src/base/dynamic_annotations.h +++ b/src/base/dynamic_annotations.h @@ -1,3 +1,4 @@ +/* -*- Mode: c; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2008, Google Inc. * All rights reserved. * diff --git a/src/base/linuxthreads.h b/src/base/linuxthreads.h index 09ce45f..a087628 100644 --- a/src/base/linuxthreads.h +++ b/src/base/linuxthreads.h @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- /* Copyright (c) 2005-2007, Google Inc. * All rights reserved. * diff --git a/src/base/thread_annotations.h b/src/base/thread_annotations.h index 6cecb86..21194de 100644 --- a/src/base/thread_annotations.h +++ b/src/base/thread_annotations.h @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2008, Google Inc. // All rights reserved. // diff --git a/src/base/thread_lister.c b/src/base/thread_lister.c index 9dc8d72..2d7beb3 100644 --- a/src/base/thread_lister.c +++ b/src/base/thread_lister.c @@ -1,3 +1,4 @@ +/* -*- Mode: c; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2005-2007, Google Inc. * All rights reserved. * diff --git a/src/base/vdso_support.cc b/src/base/vdso_support.cc index 9d20ea0..e4805e9 100644 --- a/src/base/vdso_support.cc +++ b/src/base/vdso_support.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2008, Google Inc. // All rights reserved. // diff --git a/src/base/vdso_support.h b/src/base/vdso_support.h index c17d224..073386c 100644 --- a/src/base/vdso_support.h +++ b/src/base/vdso_support.h @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2008, Google Inc. // All rights reserved. // diff --git a/src/gperftools/heap-profiler.h b/src/gperftools/heap-profiler.h index 5443927..f8076e9 100644 --- a/src/gperftools/heap-profiler.h +++ b/src/gperftools/heap-profiler.h @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- +/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2005, Google Inc. * All rights reserved. * diff --git a/src/gperftools/profiler.h b/src/gperftools/profiler.h index ccd9172..89e34a2 100644 --- a/src/gperftools/profiler.h +++ b/src/gperftools/profiler.h @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- +/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2005, Google Inc. * All rights reserved. * diff --git a/src/gperftools/tcmalloc.h.in b/src/gperftools/tcmalloc.h.in index 84ac8fa..0c8a3dd 100644 --- a/src/gperftools/tcmalloc.h.in +++ b/src/gperftools/tcmalloc.h.in @@ -1,4 +1,4 @@ -// -*- Mode: C; c-basic-offset: 2; indent-tabs-mode: nil -*- +/* -*- Mode: C; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2003, Google Inc. * All rights reserved. * diff --git a/src/stacktrace_powerpc-darwin-inl.h b/src/stacktrace_powerpc-darwin-inl.h index 0895844..3f6c367 100644 --- a/src/stacktrace_powerpc-darwin-inl.h +++ b/src/stacktrace_powerpc-darwin-inl.h @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2007, Google Inc. // All rights reserved. // diff --git a/src/tests/stacktrace_unittest.cc b/src/tests/stacktrace_unittest.cc index 40fa8eb..6c764d0 100644 --- a/src/tests/stacktrace_unittest.cc +++ b/src/tests/stacktrace_unittest.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2005, Google Inc. // All rights reserved. // diff --git a/src/windows/addr2line-pdb.c b/src/windows/addr2line-pdb.c index ca699d2..88d207b 100644 --- a/src/windows/addr2line-pdb.c +++ b/src/windows/addr2line-pdb.c @@ -1,3 +1,4 @@ +/* -*- Mode: c; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2008, Google Inc. * All rights reserved. * diff --git a/src/windows/config.h b/src/windows/config.h index 7349431..a4cd2e6 100644 --- a/src/windows/config.h +++ b/src/windows/config.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* A manual version of config.h fit for windows machines. * * Use of this source code is governed by a BSD-style license that can diff --git a/src/windows/ia32_modrm_map.cc b/src/windows/ia32_modrm_map.cc index 89dfbbb..817ac43 100644 --- a/src/windows/ia32_modrm_map.cc +++ b/src/windows/ia32_modrm_map.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- /* Copyright (c) 2007, Google Inc. * All rights reserved. * diff --git a/src/windows/ia32_opcode_map.cc b/src/windows/ia32_opcode_map.cc index 937ec80..9d54f6b 100644 --- a/src/windows/ia32_opcode_map.cc +++ b/src/windows/ia32_opcode_map.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- /* Copyright (c) 2007, Google Inc. * All rights reserved. * diff --git a/src/windows/nm-pdb.c b/src/windows/nm-pdb.c index a094722..9f6f431 100644 --- a/src/windows/nm-pdb.c +++ b/src/windows/nm-pdb.c @@ -1,3 +1,4 @@ +/* -*- Mode: c; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* Copyright (c) 2008, Google Inc. * All rights reserved. * diff --git a/src/windows/patch_functions.cc b/src/windows/patch_functions.cc index 7c42948..a2d0a03 100644 --- a/src/windows/patch_functions.cc +++ b/src/windows/patch_functions.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2007, Google Inc. // All rights reserved. // diff --git a/src/windows/system-alloc.cc b/src/windows/system-alloc.cc index c82db91..bdd0392 100644 --- a/src/windows/system-alloc.cc +++ b/src/windows/system-alloc.cc @@ -1,3 +1,4 @@ +// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // Copyright (c) 2013, Google Inc. // All rights reserved. //