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 6fde68527..77ff670f3 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 1d9fa5cce..9b966a7cc 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 196602eb4..af9445271 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 09ce45fc1..a087628bf 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 6cecb86fe..21194deda 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 9dc8d7218..2d7beb309 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 9d20ea020..e4805e9e4 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 c17d22494..073386ce2 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 5443927d6..f8076e9fe 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 ccd917283..89e34a227 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 84ac8fa5d..0c8a3ddcf 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 08958441b..3f6c3670f 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 40fa8eb45..6c764d055 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 ca699d2cf..88d207bbe 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 73494319e..a4cd2e64d 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 89dfbbbcf..817ac438b 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 937ec8098..9d54f6b1c 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 a0947223a..9f6f43107 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 7c4294860..a2d0a0365 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 c82db9176..bdd03921d 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. //