[clang] [llvm] Raise an error on namespace aliases with qualified names. (PR #86122)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 09:38:37 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 8e5de66af3da8c2fc79b8fe2cbc26f94b677434d...c5997eedca3ada4c1d644ad41159933c3b8da051 llvm/utils/lit/lit/formats/googletest.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- googletest.py	2024-03-21 16:35:43.000000 +0000
+++ googletest.py	2024-03-21 16:38:29.417663 +0000
@@ -31,11 +31,11 @@
     def get_num_tests(self, path, litConfig, localConfig):
         list_test_cmd = self.prepareCmd(
             [path, "--gtest_list_tests", "--gtest_filter=-*DISABLED_*"]
         )
         try:
-            localConfig.environment['DYLD_LIBRARY_PATH'] = ''
+            localConfig.environment["DYLD_LIBRARY_PATH"] = ""
             out = subprocess.check_output(list_test_cmd, env=localConfig.environment)
         except subprocess.CalledProcessError as exc:
             litConfig.warning(
                 "unable to discover google-tests in %r: %s. Process output: %s"
                 % (path, sys.exc_info()[1], exc.output)

``````````

</details>


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


More information about the llvm-commits mailing list