<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/Basic/FileManager.cpp, branch users/jrtc27/spr/main.elfmips-fix-addend-for-preemptible-static-tls</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>[Basic] Remove getVirtualFile (#151086)</title>
<updated>2025-07-29T15:19:18+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-07-29T15:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=99fda1a09cf7ce97fbd0ea74101e4fc3283f3428'/>
<id>99fda1a09cf7ce97fbd0ea74101e4fc3283f3428</id>
<content type='text'>
This patch removes getVirtualFile because it has been deprecated for
more than 10 months since:

  commit b1aea98cfa357e23f4bb52232da5f41781f23bff
  Author: Jan Svoboda &lt;jan_svoboda@apple.com&gt;
  Date:   Wed Sep 25 10:36:44 2024 -0700

I'm not aware of any downstream use AFAICT.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes getVirtualFile because it has been deprecated for
more than 10 months since:

  commit b1aea98cfa357e23f4bb52232da5f41781f23bff
  Author: Jan Svoboda &lt;jan_svoboda@apple.com&gt;
  Date:   Wed Sep 25 10:36:44 2024 -0700

I'm not aware of any downstream use AFAICT.</pre>
</div>
</content>
</entry>
<entry>
<title>[Basic] Use StringRef::drop_back (NFC) (#146195)</title>
<updated>2025-06-28T05:07:34+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-28T05:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7f6d7391cfff6a444e5e15d1de9be429ff1d9edd'/>
<id>7f6d7391cfff6a444e5e15d1de9be429ff1d9edd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Basic] Remove unused includes (NFC) (#142295)</title>
<updated>2025-06-01T02:00:31+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-01T02:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cd9fe8a34cfbda448adf256ed0ce7d4dd14410fc'/>
<id>cd9fe8a34cfbda448adf256ed0ce7d4dd14410fc</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>[clang] Reject character devices in #embed for now (#135370)</title>
<updated>2025-04-15T07:43:01+00:00</updated>
<author>
<name>Mariya Podchishchaeva</name>
<email>mariya.podchishchaeva@intel.com</email>
</author>
<published>2025-04-15T07:43:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0f526498a1b0819055d1094fd9850fdbcab5b903'/>
<id>0f526498a1b0819055d1094fd9850fdbcab5b903</id>
<content type='text'>
See https://github.com/llvm/llvm-project/issues/126629 . Right now they
are not supported properly and support requires modifying several layers
of LLVM. For now simply reject them while proper support is being
developed to avoid potential security problems.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/llvm/llvm-project/issues/126629 . Right now they
are not supported properly and support requires modifying several layers
of LLVM. For now simply reject them while proper support is being
developed to avoid potential security problems.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Remove deprecated `FileManager` APIs (#132063)</title>
<updated>2025-03-20T16:38:19+00:00</updated>
<author>
<name>Jan Svoboda</name>
<email>jan_svoboda@apple.com</email>
</author>
<published>2025-03-20T16:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=99b1a2ac078fe52300d270b3e77ddbababa8f951'/>
<id>99b1a2ac078fe52300d270b3e77ddbababa8f951</id>
<content type='text'>
This PR removes the `FileManager` APIs that have been deprecated for a
while.

LLVM 20.1.0 that was released earlier this month contains the formal
deprecation of these APIs, so these should be fine to remove in the next
major release.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR removes the `FileManager` APIs that have been deprecated for a
while.

LLVM 20.1.0 that was released earlier this month contains the formal
deprecation of these APIs, so these should be fine to remove in the next
major release.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Migrate away from PointerUnion::{is,get} (NFC) (#119724)</title>
<updated>2024-12-13T00:03:20+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-12-13T00:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d01c11df04ae45a3d5b08e69bb683c760bbddd54'/>
<id>d01c11df04ae45a3d5b08e69bb683c760bbddd54</id>
<content type='text'>
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:

  // FIXME: Replace the uses of is(), get() and dyn_cast() with
  //        isa&lt;T&gt;, cast&lt;T&gt; and the llvm::dyn_cast&lt;T&gt;

I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:

  // FIXME: Replace the uses of is(), get() and dyn_cast() with
  //        isa&lt;T&gt;, cast&lt;T&gt; and the llvm::dyn_cast&lt;T&gt;

I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Migrate away from PointerUnion::{is,get} (NFC) (#119654)</title>
<updated>2024-12-12T05:13:13+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-12-12T05:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=02dd73a5d585af9a950baa38855305fdb17c76af'/>
<id>02dd73a5d585af9a950baa38855305fdb17c76af</id>
<content type='text'>
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:

  // FIXME: Replace the uses of is(), get() and dyn_cast() with
  //        isa&lt;T&gt;, cast&lt;T&gt; and the llvm::dyn_cast&lt;T&gt;

I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:

  // FIXME: Replace the uses of is(), get() and dyn_cast() with
  //        isa&lt;T&gt;, cast&lt;T&gt; and the llvm::dyn_cast&lt;T&gt;

I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.</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>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>
</feed>
