<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/git/code-format-helper.py, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[CI] enable code-format-helper for .cl files (#135748)</title>
<updated>2025-04-16T11:34:59+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-04-16T11:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cf2399a2ee5b8a721eff385acbaa68fb9b00127c'/>
<id>cf2399a2ee5b8a721eff385acbaa68fb9b00127c</id>
<content type='text'>
In clang-format, OpenCL .cl file uses default C++ formatting. There are
many pull-requests in libclc project that change OpenCL files. It is
beneficial to enable clang-format for them in CI.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In clang-format, OpenCL .cl file uses default C++ formatting. There are
many pull-requests in libclc project that change OpenCL files. It is
beneficial to enable clang-format for them in CI.</pre>
</div>
</content>
</entry>
<entry>
<title>code format checker: fix python error when the diff becomes empty</title>
<updated>2025-04-16T07:38:37+00:00</updated>
<author>
<name>Nuno Lopes</name>
<email>nuno.lopes@tecnico.ulisboa.pt</email>
</author>
<published>2025-04-16T07:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bf0de88696095342aaa58e5e0a0105403d5ebd5e'/>
<id>bf0de88696095342aaa58e5e0a0105403d5ebd5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CI] adjust the undef warning regex so it doesn't catch %undef in .ll files</title>
<updated>2025-04-08T15:56:38+00:00</updated>
<author>
<name>Nuno Lopes</name>
<email>nuno.lopes@tecnico.ulisboa.pt</email>
</author>
<published>2025-04-08T15:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b416e7f5920ff2f80f60e52eeb363269d130adba'/>
<id>b416e7f5920ff2f80f60e52eeb363269d130adba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CI] Reduce false positives in undef checker (#134687)</title>
<updated>2025-04-08T08:53:33+00:00</updated>
<author>
<name>Benjamin Maxwell</name>
<email>benjamin.maxwell@arm.com</email>
</author>
<published>2025-04-08T08:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e1fc118f3a2f3fb91a3045ce37a5259430594afc'/>
<id>e1fc118f3a2f3fb91a3045ce37a5259430594afc</id>
<content type='text'>
Only check for diffs containing "undef" in .ll files, this prevents
comments like `// We should not have undef values...` triggering the
undef checker bot.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only check for diffs containing "undef" in .ll files, this prevents
comments like `// We should not have undef values...` triggering the
undef checker bot.</pre>
</div>
</content>
</entry>
<entry>
<title>[GitHub] Skip undefcheck if no relevant files changed (#126749)</title>
<updated>2025-02-11T17:43:27+00:00</updated>
<author>
<name>Aaron Siddhartha Mondal</name>
<email>aaron@tracemachina.com</email>
</author>
<published>2025-02-11T17:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=55ae118db7c36fb88994e072e424cb66d1f34e74'/>
<id>55ae118db7c36fb88994e072e424cb66d1f34e74</id>
<content type='text'>
If the list of filtered files was empty the check would process every
file in the diff.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the list of filtered files was empty the check would process every
file in the diff.</pre>
</div>
</content>
</entry>
<entry>
<title>[Github] Skip MIR files for undef check (#120919)</title>
<updated>2024-12-24T09:09:34+00:00</updated>
<author>
<name>Aiden Grossman</name>
<email>aidengrossman@google.com</email>
</author>
<published>2024-12-24T09:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c84f5a9e00c02e6a4349846ed59ec85154b65e3f'/>
<id>c84f5a9e00c02e6a4349846ed59ec85154b65e3f</id>
<content type='text'>
This patch skips checking files with a .mir extension for the presence
of undef. This was creating false positives that got reported on
discourse.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch skips checking files with a .mir extension for the presence
of undef. This was creating false positives that got reported on
discourse.</pre>
</div>
</content>
</entry>
<entry>
<title>undef reviewer: tweak the regex so it doesn't warn about #undef</title>
<updated>2024-12-20T19:48:23+00:00</updated>
<author>
<name>Nuno Lopes</name>
<email>nuno.lopes@tecnico.ulisboa.pt</email>
</author>
<published>2024-12-20T19:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0c629206b0b3e1ddd64104a56c7a573a55e8944a'/>
<id>0c629206b0b3e1ddd64104a56c7a573a55e8944a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PR check to suggest alternatives to using undef (#118506)</title>
<updated>2024-12-11T21:09:05+00:00</updated>
<author>
<name>Nuno Lopes</name>
<email>nuno.lopes@tecnico.ulisboa.pt</email>
</author>
<published>2024-12-11T21:09:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=19bc282320ba4d2e961e287f110b9110297ae3ee'/>
<id>19bc282320ba4d2e961e287f110b9110297ae3ee</id>
<content type='text'>
As discussed in
https://discourse.llvm.org/t/please-dont-use-undef-in-tests-part-2/83388,
this patch adds a comment to PRs that introduce new uses of undef.

It uses the the `git diff -S' command to find new uses, avoiding warning
about old uses. It further trims down with a regex to get only added (+)
lines.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As discussed in
https://discourse.llvm.org/t/please-dont-use-undef-in-tests-part-2/83388,
this patch adds a comment to PRs that introduce new uses of undef.

It uses the the `git diff -S' command to find new uses, avoiding warning
about old uses. It further trims down with a regex to get only added (+)
lines.</pre>
</div>
</content>
</entry>
<entry>
<title>Improve slightly the pre-commit git hook usage of the auto-format helper (#117326)</title>
<updated>2024-11-22T15:58:12+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2024-11-22T15:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c4aa83840b72b9eb94e6bc2088326fb27c43ada6'/>
<id>c4aa83840b72b9eb94e6bc2088326fb27c43ada6</id>
<content type='text'>
The default mode does not provide a way to see the actual failure of the
formatters without modifying the code. Instead offer the user the option
to rerun with a `FORMAT_HOOK_VERBOSE=1` environment variable to print
the actual formatting diff.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default mode does not provide a way to see the actual failure of the
formatters without modifying the code. Instead offer the user the option
to rerun with a `FORMAT_HOOK_VERBOSE=1` environment variable to print
the actual formatting diff.</pre>
</div>
</content>
</entry>
<entry>
<title>[CI][format] Explicitly pass extensions to git-clang-format (take 2) (#98227)</title>
<updated>2024-07-10T18:07:24+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne.2@gmail.com</email>
</author>
<published>2024-07-10T18:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b3c450d4dc8f21f70a4fa35bdcbd4bfaf852ccd7'/>
<id>b3c450d4dc8f21f70a4fa35bdcbd4bfaf852ccd7</id>
<content type='text'>
This patch ensures that the CI script controls which file extensions are
considered instead of letting git-clang-format apply its own filtering
rules. In particular, this properly handles libc++ extension-less
headers which were passed to git-clang-format, but then dropped by 
the tool as having an unrecognized extension.

This is a second attempt to land 7620fe0d2d1e, which was reverted in
9572388 because it caused formatting not to be enforced for several patches.
The problem was that we'd incorrectly pass the extensions with additional
quoting to git-clang-format. The incorrect quoting has been removed in this
version of the patch.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch ensures that the CI script controls which file extensions are
considered instead of letting git-clang-format apply its own filtering
rules. In particular, this properly handles libc++ extension-less
headers which were passed to git-clang-format, but then dropped by 
the tool as having an unrecognized extension.

This is a second attempt to land 7620fe0d2d1e, which was reverted in
9572388 because it caused formatting not to be enforced for several patches.
The problem was that we'd incorrectly pass the extensions with additional
quoting to git-clang-format. The incorrect quoting has been removed in this
version of the patch.</pre>
</div>
</content>
</entry>
</feed>
