[llvm] [Bolt] Teach bolt about no-return functions (PR #115616)

Anatoly Trosinenko via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 06:52:09 PDT 2025


================
@@ -0,0 +1,36 @@
+//===- bolt/Passes/Discover.h -----------------------------------*- C++ -*-===//
+//
+// 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 BOLT_PASSES_DISCOVERNORETURN_H
+#define BOLT_PASSES_DISCOVERNORETURN_H
----------------
atrosinenko wrote:

[nit] Defined name is out of sync with the file name.

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


More information about the llvm-commits mailing list