[clang] [libclang/python] Remove global SPELLING_CACHE alias (PR #210677)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 23 06:37:21 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 90497 tests passed
* 1709 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/infrastructure/update-checks-list.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_update_docs.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/update-checks-list.test.tmp.clang-tidy-checks-list.rst
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_update_docs.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/update-checks-list.test.tmp.clang-tidy-checks-list.rst
# .---command stderr------------
# |
# | 'clang-tools-extra/docs/clang-tidy/checks/list.rst' is out of date.
# | Fix it by running 'clang-tools-extra/clang-tidy/add_new_check.py --update-docs'.
# |
# `-----------------------------
# RUN: at line 2
diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/update-checks-list.test.tmp.clang-tidy-checks-list.rst
# executed command: diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/update-checks-list.test.tmp.clang-tidy-checks-list.rst
# .---command stdout------------
# | *** /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/update-checks-list.test.tmp.clang-tidy-checks-list.rst
# | ***************
# | *** 35,140 ****
# | .. csv-table::
# | :header: "Name", "Offers fixes"
# |
# | - :doc:`abseil-cleanup-ctad <abseil/cleanup-ctad>`, "Yes"
# | - :doc:`abseil-duration-addition <abseil/duration-addition>`, "Yes"
# | :doc:`abseil-duration-comparison <abseil/duration-comparison>`, "Yes"
# | :doc:`abseil-duration-conversion-cast <abseil/duration-conversion-cast>`, "Yes"
# | :doc:`abseil-duration-division <abseil/duration-division>`, "Yes"
# | - :doc:`abseil-duration-factory-float <abseil/duration-factory-float>`, "Yes"
# | :doc:`abseil-duration-factory-scale <abseil/duration-factory-scale>`, "Yes"
# | :doc:`abseil-duration-subtraction <abseil/duration-subtraction>`, "Yes"
# | :doc:`abseil-duration-unnecessary-conversion <abseil/duration-unnecessary-conversion>`, "Yes"
# | :doc:`abseil-faster-strsplit-delimiter <abseil/faster-strsplit-delimiter>`, "Yes"
# | - :doc:`abseil-no-internal-dependencies <abseil/no-internal-dependencies>`,
# | - :doc:`abseil-no-namespace <abseil/no-namespace>`,
# | - :doc:`abseil-redundant-strcat-calls <abseil/redundant-strcat-calls>`, "Yes"
# | - :doc:`abseil-str-cat-append <abseil/str-cat-append>`, "Yes"
# | :doc:`abseil-string-find-startswith <abseil/string-find-startswith>`, "Yes"
# | :doc:`abseil-string-find-str-contains <abseil/string-find-str-contains>`, "Yes"
# | - :doc:`abseil-time-comparison <abseil/time-comparison>`, "Yes"
# | :doc:`abseil-time-subtraction <abseil/time-subtraction>`, "Yes"
# | :doc:`abseil-unchecked-statusor-access <abseil/unchecked-statusor-access>`,
# | :doc:`abseil-upgrade-duration-conversions <abseil/upgrade-duration-conversions>`, "Yes"
# | - :doc:`altera-id-dependent-backward-branch <altera/id-dependent-backward-branch>`,
# | - :doc:`altera-kernel-name-restriction <altera/kernel-name-restriction>`,
# | :doc:`altera-single-work-item-barrier <altera/single-work-item-barrier>`,
# | :doc:`altera-struct-pack-align <altera/struct-pack-align>`, "Yes"
# | :doc:`altera-unroll-loops <altera/unroll-loops>`,
# | - :doc:`android-cloexec-accept <android/cloexec-accept>`, "Yes"
# | - :doc:`android-cloexec-accept4 <android/cloexec-accept4>`, "Yes"
# | - :doc:`android-cloexec-creat <android/cloexec-creat>`, "Yes"
# | - :doc:`android-cloexec-dup <android/cloexec-dup>`, "Yes"
# | - :doc:`android-cloexec-epoll-create <android/cloexec-epoll-create>`, "Yes"
# | - :doc:`android-cloexec-epoll-create1 <android/cloexec-epoll-create1>`, "Yes"
# | - :doc:`android-cloexec-fopen <android/cloexec-fopen>`, "Yes"
# | - :doc:`android-cloexec-inotify-init <android/cloexec-inotify-init>`, "Yes"
# | - :doc:`android-cloexec-inotify-init1 <android/cloexec-inotify-init1>`, "Yes"
# | - :doc:`android-cloexec-memfd-create <android/cloexec-memfd-create>`, "Yes"
# | - :doc:`android-cloexec-open <android/cloexec-open>`, "Yes"
# | - :doc:`android-cloexec-pipe <android/cloexec-pipe>`, "Yes"
# | - :doc:`android-cloexec-pipe2 <android/cloexec-pipe2>`, "Yes"
# | - :doc:`android-cloexec-socket <android/cloexec-socket>`, "Yes"
# | :doc:`android-comparison-in-temp-failure-retry <android/comparison-in-temp-failure-retry>`,
# | :doc:`boost-use-ranges <boost/use-ranges>`, "Yes"
# | - :doc:`boost-use-to-string <boost/use-to-string>`, "Yes"
# | :doc:`bugprone-argument-comment <bugprone/argument-comment>`, "Yes"
# | :doc:`bugprone-assert-side-effect <bugprone/assert-side-effect>`,
# | - :doc:`bugprone-assignment-in-if-condition <bugprone/assignment-in-if-condition>`,
# | :doc:`bugprone-assignment-in-selection-statement <bugprone/assignment-in-selection-statement>`,
# | - :doc:`bugprone-bad-signal-to-kill-thread <bugprone/bad-signal-to-kill-thread>`,
# | :doc:`bugprone-bitwise-pointer-cast <bugprone/bitwise-pointer-cast>`,
# | - :doc:`bugprone-bool-pointer-implicit-conversion <bugprone/bool-pointer-implicit-conversion>`, "Yes"
# | :doc:`bugprone-branch-clone <bugprone/branch-clone>`,
# | :doc:`bugprone-capturing-this-in-member-variable <bugprone/capturing-this-in-member-variable>`,
# | :doc:`bugprone-casting-through-void <bugprone/casting-through-void>`,
# | :doc:`bugprone-chained-comparison <bugprone/chained-comparison>`,
# | - :doc:`bugprone-command-processor <bugprone/command-processor>`,
# | :doc:`bugprone-compare-pointer-to-member-virtual-function <bugprone/compare-pointer-to-member-virtual-function>`,
# | :doc:`bugprone-copy-constructor-init <bugprone/copy-constructor-init>`, "Yes"
# | - :doc:`bugprone-copy-constructor-mutates-argument <bugprone/copy-constructor-mutates-argument>`,
# | :doc:`bugprone-crtp-constructor-accessibility <bugprone/crtp-constructor-accessibility>`, "Yes"
# | :doc:`bugprone-dangling-handle <bugprone/dangling-handle>`,
# | - :doc:`bugprone-default-operator-new-on-overaligned-type <bugprone/default-operator-new-on-overaligned-type>`,
# | :doc:`bugprone-derived-method-shadowing-base-method <bugprone/derived-method-shadowing-base-method>`,
# | - :doc:`bugprone-dynamic-static-initializers <bugprone/dynamic-static-initializers>`,
# | :doc:`bugprone-easily-swappable-parameters <bugprone/easily-swappable-parameters>`,
# | :doc:`bugprone-empty-catch <bugprone/empty-catch>`,
# | :doc:`bugprone-exception-copy-constructor-throws <bugprone/exception-copy-constructor-throws>`,
# | :doc:`bugprone-exception-escape <bugprone/exception-escape>`,
# | - :doc:`bugprone-float-loop-counter <bugprone/float-loop-counter>`,
# | :doc:`bugprone-fold-init-type <bugprone/fold-init-type>`,
# | - :doc:`bugprone-forward-declaration-namespace <bugprone/forward-declaration-namespace>`,
# | :doc:`bugprone-forwarding-reference-overload <bugprone/forwarding-reference-overload>`,
# | :doc:`bugprone-implicit-widening-of-multiplication-result <bugprone/implicit-widening-of-multiplication-result>`, "Yes"
# | - :doc:`bugprone-inaccurate-erase <bugprone/inaccurate-erase>`, "Yes"
# | :doc:`bugprone-inc-dec-in-conditions <bugprone/inc-dec-in-conditions>`,
# | :doc:`bugprone-incorrect-enable-if <bugprone/incorrect-enable-if>`, "Yes"
# | :doc:`bugprone-incorrect-enable-shared-from-this <bugprone/incorrect-enable-shared-from-this>`, "Yes"
# | - :doc:`bugprone-incorrect-roundings <bugprone/incorrect-roundings>`,
# | :doc:`bugprone-infinite-loop <bugprone/infinite-loop>`,
# | :doc:`bugprone-integer-division <bugprone/integer-division>`,
# | :doc:`bugprone-invalid-enum-default-initialization <bugprone/invalid-enum-default-initialization>`,
# | :doc:`bugprone-lambda-function-name <bugprone/lambda-function-name>`,
# | - :doc:`bugprone-macro-parentheses <bugprone/macro-parentheses>`, "Yes"
# | - :doc:`bugprone-macro-repeated-side-effects <bugprone/macro-repeated-side-effects>`,
# | :doc:`bugprone-misleading-setter-of-reference <bugprone/misleading-setter-of-reference>`,
# | :doc:`bugprone-misplaced-operator-in-strlen-in-alloc <bugprone/misplaced-operator-in-strlen-in-alloc>`, "Yes"
# | - :doc:`bugprone-misplaced-pointer-arithmetic-in-alloc <bugprone/misplaced-pointer-arithmetic-in-alloc>`, "Yes"
# | :doc:`bugprone-misplaced-widening-cast <bugprone/misplaced-widening-cast>`,
# | :doc:`bugprone-missing-end-comparison <bugprone/missing-end-comparison>`, "Yes"
# | :doc:`bugprone-move-forwarding-reference <bugprone/move-forwarding-reference>`, "Yes"
# | :doc:`bugprone-multi-level-implicit-pointer-conversion <bugprone/multi-level-implicit-pointer-conversion>`,
# | :doc:`bugprone-multiple-new-in-one-expression <bugprone/multiple-new-in-one-expression>`,
# | - :doc:`bugprone-multiple-statement-macro <bugprone/multiple-statement-macro>`,
# | :doc:`bugprone-narrowing-conversions <bugprone/narrowing-conversions>`,
# | - :doc:`bugprone-no-escape <bugprone/no-escape>`,
# | :doc:`bugprone-non-zero-enum-to-bool-conversion <bugprone/non-zero-enum-to-bool-conversion>`,
# | :doc:`bugprone-nondeterministic-pointer-iteration-order <bugprone/nondeterministic-pointer-iteration-order>`,
# | :doc:`bugprone-not-null-terminated-result <bugprone/not-null-terminated-result>`, "Yes"
# | :doc:`bugprone-optional-value-conversion <bugprone/optional-value-conversion>`, "Yes"
# | - :doc:`bugprone-parent-virtual-call <bugprone/parent-virtual-call>`, "Yes"
# | :doc:`bugprone-pointer-arithmetic-on-polymorphic-object <bugprone/pointer-arithmetic-on-polymorphic-object>`,
# | - :doc:`bugprone-posix-return <bugprone/posix-return>`, "Yes"
# | :doc:`bugprone-random-generator-seed <bugprone/random-generator-seed>`,
# | :doc:`bugprone-raw-memory-call-on-non-trivial-type <bugprone/raw-memory-call-on-non-trivial-type>`,
# | :doc:`bugprone-redundant-branch-condition <bugprone/redundant-branch-condition>`, "Yes"
# | --- 35,97 ----
# | ***************
# | *** 142,152 ****
# | :doc:`bugprone-return-const-ref-from-parameter <bugprone/return-const-ref-from-parameter>`,
# | :doc:`bugprone-shared-ptr-array-mismatch <bugprone/shared-ptr-array-mismatch>`, "Yes"
# | :doc:`bugprone-signal-handler <bugprone/signal-handler>`,
# | - :doc:`bugprone-signed-bitwise <bugprone/signed-bitwise>`,
# | :doc:`bugprone-signed-char-misuse <bugprone/signed-char-misuse>`,
# | - :doc:`bugprone-sizeof-container <bugprone/sizeof-container>`,
# | :doc:`bugprone-sizeof-expression <bugprone/sizeof-expression>`,
# | - :doc:`bugprone-spuriously-wake-up-functions <bugprone/spuriously-wake-up-functions>`,
# | :doc:`bugprone-standalone-empty <bugprone/standalone-empty>`, "Yes"
# | :doc:`bugprone-std-exception-baseclass <bugprone/std-exception-baseclass>`,
# | :doc:`bugprone-std-namespace-modification <bugprone/std-namespace-modification>`,
# | --- 99,106 ----
# | ***************
# | *** 155,161 ****
# | :doc:`bugprone-string-literal-with-embedded-nul <bugprone/string-literal-with-embedded-nul>`,
# | :doc:`bugprone-stringview-nullptr <bugprone/stringview-nullptr>`, "Yes"
# | :doc:`bugprone-suspicious-enum-usage <bugprone/suspicious-enum-usage>`,
# | - :doc:`bugprone-suspicious-include <bugprone/suspicious-include>`,
# | :doc:`bugprone-suspicious-memory-comparison <bugprone/suspicious-memory-comparison>`,
# | :doc:`bug
# | ...
# `---data was truncated (10240/41792) (change limit with -D output_limit=N)
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/210677
More information about the cfe-commits
mailing list