<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Support/JSON.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>[Support] Simplify Object::operator== (NFC) (#157311)</title>
<updated>2025-09-07T17:46:02+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-09-07T17:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b9e546d24b8fa734d4ca5184a0cbb41726f42ee8'/>
<id>b9e546d24b8fa734d4ca5184a0cbb41726f42ee8</id>
<content type='text'>
This patch simplifies Object::operator== with DenseMap::operator==.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch simplifies Object::operator== with DenseMap::operator==.</pre>
</div>
</content>
</entry>
<entry>
<title>[Support] Remove an unnecessary cast (NFC) (#147548)</title>
<updated>2025-07-08T19:47:23+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-07-08T19:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=75b989ec73ea7645e9044fd03929663cea12b964'/>
<id>75b989ec73ea7645e9044fd03929663cea12b964</id>
<content type='text'>
I is already of int64_t.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I is already of int64_t.</pre>
</div>
</content>
</entry>
<entry>
<title>[JSON][NFC] Move print method out of NDEBUG || DUMP (#131639)</title>
<updated>2025-03-18T01:12:07+00:00</updated>
<author>
<name>Nikolay Panchenko</name>
<email>nicholas.panchenko@gmail.com</email>
</author>
<published>2025-03-18T01:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=745e16753fc154ac1601ebaf0ebbcdbfd380b948'/>
<id>745e16753fc154ac1601ebaf0ebbcdbfd380b948</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[JSON][NFC] Support `print` and `dump` methods in `json::Value` (#129302)</title>
<updated>2025-03-11T13:59:44+00:00</updated>
<author>
<name>Nikolay Panchenko</name>
<email>npanchen@modular.com</email>
</author>
<published>2025-03-11T13:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9f30815b1c3ee0a20954ea596ea2aa5612bf5ec3'/>
<id>9f30815b1c3ee0a20954ea596ea2aa5612bf5ec3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Avoid 'raw_string_ostream::str' (NFC)</title>
<updated>2024-07-03T11:37:48+00:00</updated>
<author>
<name>Youngsuk Kim</name>
<email>youngsuk.kim@hpe.com</email>
</author>
<published>2024-07-03T10:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=82f9a5ba965dc1a40fe955b8205dd863bf6385cf'/>
<id>82f9a5ba965dc1a40fe955b8205dd863bf6385cf</id>
<content type='text'>
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.

Work towards TODO comment to remove `raw_string_ostream::str()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[JSON] Export sortedElements and fix CLANGD_TRACE non-determinism</title>
<updated>2024-06-29T05:10:15+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-06-29T05:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b15fcdaf79e9b5931e8a7f9e09f8e3842d262dd7'/>
<id>b15fcdaf79e9b5931e8a7f9e09f8e3842d262dd7</id>
<content type='text'>
clangd/test/trace.test might fail as llvm::hash_value(StringRef) is
non-deterministic per process (#96282).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clangd/test/trace.test might fail as llvm::hash_value(StringRef) is
non-deterministic per process (#96282).
</pre>
</div>
</content>
</entry>
<entry>
<title>[JSON] Prefer static to namespace {}. NFC</title>
<updated>2024-06-29T05:06:14+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-06-29T05:06:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=70825368403202ab73900d8ff3dc096ddfef99b4'/>
<id>70825368403202ab73900d8ff3dc096ddfef99b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Support] Use StringRef::operator== instead of StringRef::equals (NFC) (#91042)</title>
<updated>2024-05-04T15:46:48+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-05-04T15:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7ee6288312e8cde8d2e8ee48f87bbab966a89247'/>
<id>7ee6288312e8cde8d2e8ee48f87bbab966a89247</id>
<content type='text'>
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.

- StringRef::operator== outnumbers StringRef::equals by a factor of 25
  under llvm/ in terms of their usage.

- The elimination of StringRef::equals brings StringRef closer to
  std::string_view, which has operator== but not equals.

- S == "foo" is more readable than S.equals("foo"), especially for
  !Long.Expression.equals("str") vs Long.Expression != "str".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.

- StringRef::operator== outnumbers StringRef::equals by a factor of 25
  under llvm/ in terms of their usage.

- The elimination of StringRef::equals brings StringRef closer to
  std::string_view, which has operator== but not equals.

- S == "foo" is more readable than S.equals("foo"), especially for
  !Long.Expression.equals("str") vs Long.Expression != "str".</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Add missing StringExtras.h includes</title>
<updated>2023-06-25T14:42:22+00:00</updated>
<author>
<name>Elliot Goodrich</name>
<email>elliotgoodrich@gmail.com</email>
</author>
<published>2023-06-17T12:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b0abd4893fa1bfae7f71b6b6e98770c9b1c07620'/>
<id>b0abd4893fa1bfae7f71b6b6e98770c9b1c07620</id>
<content type='text'>
In preparation for removing the `#include "llvm/ADT/StringExtras.h"`
from the header to source file of `llvm/Support/Error.h`, first add in
all the missing includes that were previously included transitively
through this header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for removing the `#include "llvm/ADT/StringExtras.h"`
from the header to source file of `llvm/Support/Error.h`, first add in
all the missing includes that were previously included transitively
through this header.
</pre>
</div>
</content>
</entry>
<entry>
<title>llvm/lib: Use &lt;cerrno&gt; explicitly since D146395 has hidden `errno`</title>
<updated>2023-05-11T14:31:56+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2023-04-29T07:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e13d1b5227a77bb7becfd4c49a60720ecc33f870'/>
<id>e13d1b5227a77bb7becfd4c49a60720ecc33f870</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D149513
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D149513
</pre>
</div>
</content>
</entry>
</feed>
