[llvm] Introduce DIExpression::foldConstantMath() (PR #71718)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 16:26:32 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff f8063ffe73a3a1d704b9738169bb76ebb0f8a5e0 21324f82ef31c3044c160b4797d2504e096768da -- llvm/include/llvm/IR/DIExpressionOptimizer.h llvm/lib/IR/DIExpressionOptimizer.cpp llvm/include/llvm/IR/DebugInfoMetadata.h llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h llvm/lib/IR/DebugInfoMetadata.cpp llvm/unittests/IR/MetadataTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/DIExpressionOptimizer.h b/llvm/include/llvm/IR/DIExpressionOptimizer.h
index 21153f223b..fc6618507c 100644
--- a/llvm/include/llvm/IR/DIExpressionOptimizer.h
+++ b/llvm/include/llvm/IR/DIExpressionOptimizer.h
@@ -1,5 +1,5 @@
//===- llvm/IR/DIExpressionOptimizer.h - Constant folding of DIExpressions --*-
-//C++ -*-===//
+// C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
``````````
</details>
https://github.com/llvm/llvm-project/pull/71718
More information about the llvm-commits
mailing list