<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang/unittests, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-06-10T12:21:44+00:00</updated>
<entry>
<title>[Syntax] Merge overlapping top-level macros in TokenBuffer</title>
<updated>2020-06-10T12:21:44+00:00</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2020-04-07T00:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0530e2a811b08f13e8137c29f047ad6bd11967fa'/>
<id>urn:sha1:0530e2a811b08f13e8137c29f047ad6bd11967fa</id>
<content type='text'>
Summary:
Our previous definition of "top-level" was too informal, and didn't
allow for overlapping macros that each directly produce expanded tokens.
See D77507 for previous discussion.

Fixes http://bugs.llvm.org/show_bug.cgi?id=45428

Reviewers: kadircet, vabridgers

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77615

(cherry picked from commit d66afd6dde542dc373f87e07fe764c071fe20d76)
</content>
</entry>
<entry>
<title>[clang-format] [PR45357] Fix issue found with operator spacing</title>
<updated>2020-05-07T18:06:57+00:00</updated>
<author>
<name>mydeveloperday</name>
<email>mydeveloperday@gmail.com</email>
</author>
<published>2020-04-30T09:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=baeb500a8ca52b144d1bc14a04130964d68eaade'/>
<id>urn:sha1:baeb500a8ca52b144d1bc14a04130964d68eaade</id>
<content type='text'>
Summary:
This is a tentative fix for https://bugs.llvm.org/show_bug.cgi?id=45357

Spaces seem to be introduced between * and * due to changes brought in for {D69573}

Reviewers: sylvestre.ledru, mitchell-stellar, sammccall, Abpostelnicu, krasimir, jbcoe

Reviewed By: Abpostelnicu

Subscribers: tstellar, hans, Abpostelnicu, cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D78879

(cherry picked from commit b01dca50085768f1f1a5ad21a685906d48c38816)
</content>
</entry>
<entry>
<title>clang-format: Fix pointer alignment for overloaded operators (PR45107)</title>
<updated>2020-05-07T18:06:57+00:00</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@chromium.org</email>
</author>
<published>2020-03-25T16:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7ae6db9cf0c0b11a6f753cb1cf8dabb512e70f6f'/>
<id>urn:sha1:7ae6db9cf0c0b11a6f753cb1cf8dabb512e70f6f</id>
<content type='text'>
This fixes a regression from D69573 which broke the following example:

  $ echo 'operator C&lt;T&gt;*();' | bin/clang-format --style=Chromium
  operator C&lt;T&gt; *();

(There should be no space before the asterisk.)

It seems the problem is in TokenAnnotator::spaceRequiredBetween(),
which only looked at the token to the left of the * to see if it was a
type or not. That code only handled simple types or identifiers, not
templates or qualified types. This patch addresses that.

Differential revision: https://reviews.llvm.org/D76850

(cherry picked from commit eb85e90350e93a64279139e7eca9ca40c8fbf5eb)
</content>
</entry>
<entry>
<title>clang-format: fix spacing in `operator const char*()`</title>
<updated>2020-03-02T10:19:33+00:00</updated>
<author>
<name>Krasimir Georgiev</name>
<email>krasimir@google.com</email>
</author>
<published>2020-01-17T12:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=99e5b2ff9df5ca4c7fe13b63f60d953058cd9ca3'/>
<id>urn:sha1:99e5b2ff9df5ca4c7fe13b63f60d953058cd9ca3</id>
<content type='text'>
Summary:
Revision a75f8d98d7ac9e557b238a229a9a2647c71feed1 fixed spacing for operators,
but caused the const and non-const versions to diverge:
```
// With Style.PointerAlignment = FormatStyle::PAS_Left:

struct A {
  operator char*() { return ""; }
  operator const char *() const { return ""; }
};

```
The code was checking if the type specifier was directly preceded by `operator`.
However there could be comments and `const/volatile` in between.

Reviewers: mprobst

Reviewed By: mprobst

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72911

(cherry picked from commit 33463cfba2be7c8d6c08e666123cc34f114a1f3e)
</content>
</entry>
<entry>
<title>[ASTMatchers] HasNameMatcher handles `extern "C"`</title>
<updated>2020-02-27T12:06:12+00:00</updated>
<author>
<name>Nathan James</name>
<email>n.james93@hotmail.co.uk</email>
</author>
<published>2020-02-26T22:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8f2858eb07085e13544316abfd3c0e90cef3eb93'/>
<id>urn:sha1:8f2858eb07085e13544316abfd3c0e90cef3eb93</id>
<content type='text'>
Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=42193 | hasName AST matcher is confused by extern "C" in namespace. ]]

Reviewers: klimek, aaron.ballman, gribozavr2

Reviewed By: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75202

(cherry picked from commit 16cabf278fc8c14d415e677ce0bc40d46a6de30d)
</content>
</entry>
<entry>
<title>[clang-format] Expand the SpacesAroundConditions option to include catch statements</title>
<updated>2020-01-21T17:53:05+00:00</updated>
<author>
<name>mydeveloperday</name>
<email>mydeveloperday@gmail.com</email>
</author>
<published>2020-01-19T15:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=587b3b2a13d27c50006607a6b7e7458e6d7cc3fa'/>
<id>urn:sha1:587b3b2a13d27c50006607a6b7e7458e6d7cc3fa</id>
<content type='text'>
Summary: This diff expands the SpacesAroundConditions option added in D68346 to include adding spaces to catch statements.

Reviewed By: MyDeveloperDay

Patch by: timwoj

Differential Revision: https://reviews.llvm.org/D72793

(cherry picked from commit ea2be452542c81b04621e26c0d5e83be565f07e2)
</content>
</entry>
<entry>
<title>Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template</title>
<updated>2020-01-14T17:56:29+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2020-01-14T14:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2948ec5ca98f8593584f2117bc92fe8d75f6f098'/>
<id>urn:sha1:2948ec5ca98f8593584f2117bc92fe8d75f6f098</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Syntax] Unset IsOriginal flag on nodes removed from the tree</title>
<updated>2020-01-14T16:00:33+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2020-01-14T11:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=013c07f697886649b068cd97127e528b4fe7c03e'/>
<id>urn:sha1:013c07f697886649b068cd97127e528b4fe7c03e</id>
<content type='text'>
And add a corresponding test.
Only nodes inside the TranslationUnit subtree can be marked as original,
computeReplacements() relies on this.
</content>
</entry>
<entry>
<title>[Syntax] Mark synthesized nodes as modifiable</title>
<updated>2020-01-14T15:41:09+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2020-01-14T15:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=07a41018e9d27f67f7b4295eb7e00e0345c0aacf'/>
<id>urn:sha1:07a41018e9d27f67f7b4295eb7e00e0345c0aacf</id>
<content type='text'>
This was an oversight in the original patch.
Also add corresponding tests.
</content>
</entry>
<entry>
<title>[clang] Remove raw string literals in macros</title>
<updated>2020-01-13T12:38:58+00:00</updated>
<author>
<name>Oliver Stannard</name>
<email>oliver.stannard@linaro.org</email>
</author>
<published>2020-01-13T12:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6c203149b60e92e802df0c7a431744c337830a09'/>
<id>urn:sha1:6c203149b60e92e802df0c7a431744c337830a09</id>
<content type='text'>
Older (but still supported) versions of GCC don't handle C++11 raw
string literals in macro parameters correctly.
</content>
</entry>
</feed>
