[llvm] [orc-rt] Drop emacs mode lines from .cpp files. (PR #224928)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 20 06:11:19 PDT 2026
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/224928
These aren't needed for .cpp files where emacs can infer the mode from the file extension.
>From f75fb8ad17d157545a26dc604fe271a054599caf Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at apple.com>
Date: Sun, 20 Sep 2026 23:06:19 +1000
Subject: [PATCH] [orc-rt] Drop emacs mode lines from .cpp files.
These aren't needed for .cpp files where emacs can infer the mode from
the file extension.
---
orc-rt/lib/bedrock/sys/posix/DynamicLibrary.cpp | 2 +-
orc-rt/lib/bedrock/sys/posix/Memory.cpp | 2 +-
orc-rt/lib/bedrock/sys/posix/PageSize.cpp | 2 +-
orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/orc-rt/lib/bedrock/sys/posix/DynamicLibrary.cpp b/orc-rt/lib/bedrock/sys/posix/DynamicLibrary.cpp
index fbde604159d4e..af8ca7354982f 100644
--- a/orc-rt/lib/bedrock/sys/posix/DynamicLibrary.cpp
+++ b/orc-rt/lib/bedrock/sys/posix/DynamicLibrary.cpp
@@ -1,4 +1,4 @@
-//===- DynamicLibrary.cpp - POSIX dynamic library operations ---*- C++ -*-===//
+//===- DynamicLibrary.cpp - POSIX dynamic library operations --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/orc-rt/lib/bedrock/sys/posix/Memory.cpp b/orc-rt/lib/bedrock/sys/posix/Memory.cpp
index 2698592ff7e03..e8eb1f33af4ee 100644
--- a/orc-rt/lib/bedrock/sys/posix/Memory.cpp
+++ b/orc-rt/lib/bedrock/sys/posix/Memory.cpp
@@ -1,4 +1,4 @@
-//===- Memory.cpp - POSIX system memory operations -------------*- C++ -*-===//
+//===- Memory.cpp - POSIX system memory operations ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/orc-rt/lib/bedrock/sys/posix/PageSize.cpp b/orc-rt/lib/bedrock/sys/posix/PageSize.cpp
index 5724ac2e2b3ed..be544c49389c8 100644
--- a/orc-rt/lib/bedrock/sys/posix/PageSize.cpp
+++ b/orc-rt/lib/bedrock/sys/posix/PageSize.cpp
@@ -1,4 +1,4 @@
-//===- PageSize.cpp - POSIX page-size detection -----------------*- C++ -*-===//
+//===- PageSize.cpp - POSIX page-size detection ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp b/orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp
index 7d61dd2f3e1e7..ba270fb0df374 100644
--- a/orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp
+++ b/orc-rt/lib/bedrock/sys/posix/SocketHandle.cpp
@@ -1,4 +1,4 @@
-//===- SocketHandle.cpp - POSIX SocketHandle implementation -----*- C++ -*-===//
+//===- SocketHandle.cpp - POSIX SocketHandle implementation ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
More information about the llvm-commits
mailing list