<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Lex/HeaderMap.cpp, branch main</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>[clang] Remove unused includes (NFC) (#144285)</title>
<updated>2025-06-16T04:00:36+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-16T04:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c01532177ff61a768d5dc1ea541f9a8d986497fa'/>
<id>c01532177ff61a768d5dc1ea541f9a8d986497fa</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Add back include required for strnlen function</title>
<updated>2025-05-29T12:57:06+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2025-05-29T12:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ee91f9b4a2b8cd6bb5d37ccd34ee7fb2c1401f99'/>
<id>ee91f9b4a2b8cd6bb5d37ccd34ee7fb2c1401f99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Lex] Remove unused includes (NFC) (#141523)</title>
<updated>2025-05-26T21:57:05+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-05-26T21:57:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=36d57677bbbcc4f32e7aa16b73ca22fcae13a3aa'/>
<id>36d57677bbbcc4f32e7aa16b73ca22fcae13a3aa</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[Lex][Clang] Add checking to HeaderMapImpl::getString to make it more robust (#131677)</title>
<updated>2025-03-20T15:17:11+00:00</updated>
<author>
<name>Shafik Yaghmour</name>
<email>shafik.yaghmour@intel.com</email>
</author>
<published>2025-03-20T15:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cebc4a167c518d83bb95fddd1c0dd6eebed3d505'/>
<id>cebc4a167c518d83bb95fddd1c0dd6eebed3d505</id>
<content type='text'>
Static analysis identified the Len - 1 expression in
HeaderMapImpl::getString as problematic if Len is zero. After filing
this issue:

https://github.com/llvm/llvm-project/issues/130185

Indeed we should be checking MaxLen and verify it is not zero as well.

Fixes: https://github.com/llvm/llvm-project/issues/130185</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Static analysis identified the Len - 1 expression in
HeaderMapImpl::getString as problematic if Len is zero. After filing
this issue:

https://github.com/llvm/llvm-project/issues/130185

Indeed we should be checking MaxLen and verify it is not zero as well.

Fixes: https://github.com/llvm/llvm-project/issues/130185</pre>
</div>
</content>
</entry>
<entry>
<title>[Lex] Remove unused includes (NFC) (#116460)</title>
<updated>2024-11-16T20:14:06+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-11-16T20:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=764275949897533a4be0728250e69a94d228fbc5'/>
<id>764275949897533a4be0728250e69a94d228fbc5</id>
<content type='text'>
Identified with misc-include-cleaner.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with misc-include-cleaner.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Add new openFileForReadBinary function, and pass IsText parameter to getBufferForFile (#111723)</title>
<updated>2024-10-21T12:20:22+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2024-10-21T12:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=46dc91e7d9a1b6dd0144e628519d06954b7b4e53'/>
<id>46dc91e7d9a1b6dd0144e628519d06954b7b4e53</id>
<content type='text'>
This patch adds an IsText parameter to the following getBufferForFile,
getBufferForFileImpl. We introduce a new virtual function
openFileForReadBinary which defaults to openFileForRead except in
RealFileSystem which uses the OF_None flag instead of OF_Text.

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. Setting this
parameter correctly is required to open files on z/OS in the correct
encoding. The IsText parameter is based on the context of where we open
files, for example, in the ASTReader, HeaderMap requires that files
always be opened in binary even though they might be tagged as text.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds an IsText parameter to the following getBufferForFile,
getBufferForFileImpl. We introduce a new virtual function
openFileForReadBinary which defaults to openFileForRead except in
RealFileSystem which uses the OF_None flag instead of OF_Text.

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. Setting this
parameter correctly is required to open files on z/OS in the correct
encoding. The IsText parameter is based on the context of where we open
files, for example, in the ASTReader, HeaderMap requires that files
always be opened in binary even though they might be tagged as text.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Add missing strnlen function for z/OS to fix build failures (#75339)</title>
<updated>2023-12-13T18:13:53+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>69635948+abhina-sree@users.noreply.github.com</email>
</author>
<published>2023-12-13T18:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2'/>
<id>ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2</id>
<content type='text'>
This patch adds strnlen to the zOSSupport.h file to fix build failures in multiple files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds strnlen to the zOSSupport.h file to fix build failures in multiple files.</pre>
</div>
</content>
</entry>
<entry>
<title>[Lex] Use llvm::byteswap instead of sys::getSwappedBytes (NFC)</title>
<updated>2023-09-23T20:30:16+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-09-23T20:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f435f55d58542ecde0e66460555ccbcbca355cc5'/>
<id>f435f55d58542ecde0e66460555ccbcbca355cc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] NFCI: Use `FileEntryRef` in `FileManager::getBufferForFile()`</title>
<updated>2023-09-13T22:02:20+00:00</updated>
<author>
<name>Jan Svoboda</name>
<email>jan_svoboda@apple.com</email>
</author>
<published>2023-09-10T01:59:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f94695b6eb0e0b2bb059c33903cc7dd4a3ddd47f'/>
<id>f94695b6eb0e0b2bb059c33903cc7dd4a3ddd47f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use llvm::byteswap instead of ByteSwap_{16,32,64} (NFC)</title>
<updated>2023-01-28T23:22:37+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-01-28T23:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f6b8f05bb399e8f5fd176b2c9dd383cd029467f1'/>
<id>f6b8f05bb399e8f5fd176b2c9dd383cd029467f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
