[clang] [clang][NFC] Refactor `Selector` to use `PointerIntPair` inside (PR #69916)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 09:21:58 PDT 2023


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 febf5c97bba7910e796041c9518fce01f31ae826 3cae7350cc4eed7c3f23e812afe3ee50f465fce3 -- clang/include/clang/AST/DeclarationName.h clang/include/clang/Basic/IdentifierTable.h clang/lib/Basic/IdentifierTable.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/include/clang/Basic/IdentifierTable.h b/clang/include/clang/Basic/IdentifierTable.h
index 4ad3d1a5f513..2eafe5938406 100644
--- a/clang/include/clang/Basic/IdentifierTable.h
+++ b/clang/include/clang/Basic/IdentifierTable.h
@@ -929,7 +929,8 @@ class Selector {
     // correspond to the enumeration values of DeclarationName::StoredNameKind
     ZeroArg = 0x01,
     OneArg = 0x02,
-    // IMPORTANT NOTE: see comments in InfoPtr (below) about this enumerator value.
+    // IMPORTANT NOTE: see comments in InfoPtr (below) about this enumerator
+    // value.
     MultiArg = 0x07,
   };
 

``````````

</details>


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


More information about the cfe-commits mailing list