[llvm] Revert "[IR] Add new Range attribute using new ConstantRange Attribute type" (PR #84549)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 11:37:49 PST 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 70da9155efb3aeb2c6b37678168cf29f91e80734 9db26e987297a6406adb5e0c80a6c2a93c59ade6 -- llvm/include/llvm/ADT/FoldingSet.h llvm/include/llvm/AsmParser/LLParser.h llvm/include/llvm/Bitcode/LLVMBitCodes.h llvm/include/llvm/IR/Attributes.h llvm/lib/AsmParser/LLParser.cpp llvm/lib/Bitcode/Reader/BitcodeReader.cpp llvm/lib/Bitcode/Writer/BitcodeWriter.cpp llvm/lib/IR/AttributeImpl.h llvm/lib/IR/Attributes.cpp llvm/lib/IR/Verifier.cpp llvm/lib/Transforms/Utils/CodeExtractor.cpp llvm/utils/TableGen/Attributes.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 00acbbe798..7426ad1610 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -329,7 +329,6 @@ Type *Attribute::getValueAsType() const {
   return pImpl->getValueAsType();
 }
 
-
 bool Attribute::hasAttribute(AttrKind Kind) const {
   return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
 }

``````````

</details>


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


More information about the llvm-commits mailing list