[clang] [Clang][NFC] Optimize isAsciiIdentifierContinue (PR #78699)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 19 03:41:13 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 30da0f5a359ab4a684c5fdf0f4dbed20bae10f99 5b25a78e888086f5a9c25acab2dc446a85252ee4 -- clang/include/clang/Basic/CharInfo.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/Basic/CharInfo.h b/clang/include/clang/Basic/CharInfo.h
index 18ebe1f350..d807955311 100644
--- a/clang/include/clang/Basic/CharInfo.h
+++ b/clang/include/clang/Basic/CharInfo.h
@@ -59,7 +59,6 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned char c,
return AllowDollar && c == '$';
}
-
LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
// Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
static constexpr unsigned char IDContinue[256] = {
``````````
</details>
https://github.com/llvm/llvm-project/pull/78699
More information about the cfe-commits
mailing list