[llvm] [StackProtector] Introduce stack-protect-refinement pass to remove unnecessary protections. (PR #150390)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 08:33:14 PDT 2025


================
@@ -0,0 +1,33 @@
+//===- StackProtectRefinement.h - Stack Protect Refinement ----------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_SCALAR_STACK_PROTECT_REFINEMENT_H
+#define LLVM_TRANSFORMS_SCALAR_STACK_PROTECT_REFINEMENT_H
----------------
pogo59 wrote:

```suggestion
#ifndef LLVM_TRANSFORMS_SCALAR_STACKPROTECTREFINEMENT_H
#define LLVM_TRANSFORMS_SCALAR_STACKPROTECTREFINEMENT_H
```
Underscores replace punctuation rather than separating words

https://github.com/llvm/llvm-project/pull/150390


More information about the llvm-commits mailing list