<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Support/AutoConvert.cpp, branch users/nico/python-1</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>[SystemZ][z/OS] Refactor AutoConvert more (#143955)</title>
<updated>2025-06-13T11:00:36+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2025-06-13T11:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=be9994b09206a84a32c3029b409587008d179b95'/>
<id>be9994b09206a84a32c3029b409587008d179b95</id>
<content type='text'>
This patch removes the C++
disablezOSAutoConversion,enablezOSAutoConversion declarations and also
updates Path.inc to use the common function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes the C++
disablezOSAutoConversion,enablezOSAutoConversion declarations and also
updates Path.inc to use the common function.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Refactor AutoConvert.h to remove large MVS guard (#143174)</title>
<updated>2025-06-11T19:26:49+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2025-06-11T19:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=22fd11fe66a0d64f5ef359e21ae67a7d40936eaf'/>
<id>22fd11fe66a0d64f5ef359e21ae67a7d40936eaf</id>
<content type='text'>
This AutoConvert.h header frequently gets mislabeled as an unused
include because it is guarded by MVS internally and every usage is also
guarded. This refactors the change to remove this guard and instead make
these functions a noop on other non-z/OS platforms.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This AutoConvert.h header frequently gets mislabeled as an unused
include because it is guarded by MVS internally and every usage is also
guarded. This refactors the change to remove this guard and instead make
these functions a noop on other non-z/OS platforms.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Update autoconversion functions to improve support for UTF-8 (#98652)</title>
<updated>2024-12-11T12:46:51+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2024-12-11T12:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=04379c98638ac3901257b5fa319f9ece828af767'/>
<id>04379c98638ac3901257b5fa319f9ece828af767</id>
<content type='text'>
This fixes the following error when reading source and header files on
z/OS: error: source file is not valid UTF-8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the following error when reading source and header files on
z/OS: error: source file is not valid UTF-8</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[SystemZ][z/OS] Propagate IsText parameter to open text files as text (#107906)"</title>
<updated>2024-09-20T12:18:16+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2024-09-20T12:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=efdb3ae23247850d3886e3708400f0d991ed59e1'/>
<id>efdb3ae23247850d3886e3708400f0d991ed59e1</id>
<content type='text'>
This reverts commit edf3b277a5f2ebe144827ed47463c22743cac5f9.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit edf3b277a5f2ebe144827ed47463c22743cac5f9.
</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Propagate IsText parameter to open text files as text (#107906)</title>
<updated>2024-09-19T18:30:10+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2024-09-19T18:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=edf3b277a5f2ebe144827ed47463c22743cac5f9'/>
<id>edf3b277a5f2ebe144827ed47463c22743cac5f9</id>
<content type='text'>
This patch adds an IsText parameter to the following functions
openFileForRead, getBufferForFile, getBufferForFileImpl and determines
whether a file is text by querying the file tag on z/OS. The default is
set to OF_Text instead of OF_None, this change in value does not affect
any other platforms other than z/OS.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds an IsText parameter to the following functions
openFileForRead, getBufferForFile, getBufferForFileImpl and determines
whether a file is text by querying the file tag on z/OS. The default is
set to OF_Text instead of OF_None, this change in value does not affect
any other platforms other than z/OS.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][SystemZ][z/OS] Rename autoconversion-related functions to be less generic (#107399)</title>
<updated>2024-09-05T17:25:06+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2024-09-05T17:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=311ac6381649fa0f7cc495db8fa697d6a9b43988'/>
<id>311ac6381649fa0f7cc495db8fa697d6a9b43988</id>
<content type='text'>
This patch renames the functions in AutoConvert.h/cpp to have a less
generic name because they are z/OS specific.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch renames the functions in AutoConvert.h/cpp to have a less
generic name because they are z/OS specific.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Add missing include header to AutoConvert.cpp to fix build (#84909)</title>
<updated>2024-03-12T14:56:51+00:00</updated>
<author>
<name>Fanbo Meng</name>
<email>fanbo.meng@ibm.com</email>
</author>
<published>2024-03-12T14:56:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0fe271c35368a9190661bcca87101fc0916d6a8b'/>
<id>0fe271c35368a9190661bcca87101fc0916d6a8b</id>
<content type='text'>
ba13fa2a5d57581bff1a7e9322234af30f4882f6
added usages of `errnoAsErrorCode()` to AutoConvert.cpp, need to include
Error.h header to fix build failure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ba13fa2a5d57581bff1a7e9322234af30f4882f6
added usages of `errnoAsErrorCode()` to AutoConvert.cpp, need to include
Error.h header to fix build failure.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][Support] Add and use errnoAsErrorCode (#84423)</title>
<updated>2024-03-09T07:30:33+00:00</updated>
<author>
<name>Michael Spencer</name>
<email>bigcheesegs@gmail.com</email>
</author>
<published>2024-03-09T07:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ba13fa2a5d57581bff1a7e9322234af30f4882f6'/>
<id>ba13fa2a5d57581bff1a7e9322234af30f4882f6</id>
<content type='text'>
LLVM is inconsistent about how it converts `errno` to `std::error_code`.
This can cause problems because values outside of `std::errc` compare
differently if one is system and one is generic on POSIX systems.

This is even more of a problem on Windows where use of the system
category is just wrong, as that is for Windows errors, which have a
completely different mapping than POSIX/generic errors. This patch fixes
one instance of this mistake in `JSONTransport.cpp`.

This patch adds `errnoAsErrorCode()` which makes it so people do not
need to think about this issue in the future. It also cleans up a lot of
usage of `errno` in LLVM and Clang.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LLVM is inconsistent about how it converts `errno` to `std::error_code`.
This can cause problems because values outside of `std::errc` compare
differently if one is system and one is generic on POSIX systems.

This is even more of a problem on Windows where use of the system
category is just wrong, as that is for Windows errors, which have a
completely different mapping than POSIX/generic errors. This patch fixes
one instance of this mistake in `JSONTransport.cpp`.

This patch adds `errnoAsErrorCode()` which makes it so people do not
need to think about this issue in the future. It also cleans up a lot of
usage of `errno` in LLVM and Clang.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Complete EBCDIC I/O support (#75212)</title>
<updated>2023-12-13T12:46:02+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>69635948+abhina-sree@users.noreply.github.com</email>
</author>
<published>2023-12-13T12:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ab380c287a42c0701cd86ae2932c0cb125b9a294'/>
<id>ab380c287a42c0701cd86ae2932c0cb125b9a294</id>
<content type='text'>
This patch completes the support for EBCDIC I/O support on z/OS using the autoconversion functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch completes the support for EBCDIC I/O support on z/OS using the autoconversion functions.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Fix return values in AutoConversion functions</title>
<updated>2021-05-05T13:43:14+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2021-05-05T13:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6a12875046fd8c3e9f67482803a9f0f7b39dcfa6'/>
<id>6a12875046fd8c3e9f67482803a9f0f7b39dcfa6</id>
<content type='text'>
My previous patch https://reviews.llvm.org/rG1527a5e4b4834e65678f9c30f786a2f4c17932bf incorrectly set int return values instead of std::error_code. This patch correctly returns and std::error_code value.

Reviewed By: fanbo-meng, Jonathan.Crowther

Differential Revision: https://reviews.llvm.org/D101904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
My previous patch https://reviews.llvm.org/rG1527a5e4b4834e65678f9c30f786a2f4c17932bf incorrectly set int return values instead of std::error_code. This patch correctly returns and std::error_code value.

Reviewed By: fanbo-meng, Jonathan.Crowther

Differential Revision: https://reviews.llvm.org/D101904
</pre>
</div>
</content>
</entry>
</feed>
