<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang/unittests/Tooling, 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>[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>[Syntax] Build spanning SimpleDecalration for classes, structs, etc</title>
<updated>2020-01-03T11:33:11+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2020-01-03T11:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=04f627f6b9aeda924a83e75d281ab27a546d3515'/>
<id>urn:sha1:04f627f6b9aeda924a83e75d281ab27a546d3515</id>
<content type='text'>
When they are free-standing, e.g. `struct X;` or `struct X {};`.
Although this complicates the common case (of free-standing class
declarations), this ensures the less common case (e.g. `struct X {} a;`)
are handled uniformly and produce similar syntax trees.
</content>
</entry>
<entry>
<title>Fix crash in getFullyQualifiedName for inline namespace</title>
<updated>2019-12-28T13:35:51+00:00</updated>
<author>
<name>Alexey Bader</name>
<email>alexey.bader@intel.com</email>
</author>
<published>2019-12-28T13:13:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=128f39da932be50cb49646084820119e6e0d1e22'/>
<id>urn:sha1:128f39da932be50cb49646084820119e6e0d1e22</id>
<content type='text'>
Summary: The ICE happens when the most outer namespace is an inline namespace.

Reviewers: bkramer, ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: ebevhan, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71962
</content>
</entry>
<entry>
<title>[clang][Tooling] Prefer -x over -std when interpolating</title>
<updated>2019-12-20T10:10:36+00:00</updated>
<author>
<name>Kadir Cetinkaya</name>
<email>kadircet@google.com</email>
</author>
<published>2019-12-19T21:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c2377eae286bbe616267bef772ee736b030dd007'/>
<id>urn:sha1:c2377eae286bbe616267bef772ee736b030dd007</id>
<content type='text'>
Summary:
Currently interpolation logic prefers -std over -x. But the latter is a
more strong signal, so this patch inverts the order and only makes use of -std
if -x didn't exist.

Fixes https://github.com/clangd/clangd/issues/185

Thanks @sammccall for tracking this down!

Reviewers: sammccall

Subscribers: ilya-biryukov, usaxena95, cfe-commits, sammccall

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71727
</content>
</entry>
<entry>
<title>[Syntax] Use a hash table to search for tokens by their location</title>
<updated>2019-12-18T11:24:00+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2019-12-18T10:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c1bbefef9d36e84e469513374ef404b9e354b262'/>
<id>urn:sha1:c1bbefef9d36e84e469513374ef404b9e354b262</id>
<content type='text'>
This is both more efficient and avoids corner cases in
`SourceManager::isBeforeInTranslationUnit`.

The change is trivial and clearly a performance improvement on the hot
path of building the syntax tree, so sending without review.
</content>
</entry>
<entry>
<title>[Syntax] Uppercase the first letter of the test name. NFC</title>
<updated>2019-12-18T11:20:30+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2019-12-18T11:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=038f53882e7cc25da0a71018d1c7f9b4706675c2'/>
<id>urn:sha1:038f53882e7cc25da0a71018d1c7f9b4706675c2</id>
<content type='text'>
To match naming style of other tests.
</content>
</entry>
<entry>
<title>[Syntax] Allow to mutate syntax trees</title>
<updated>2019-12-18T11:19:03+00:00</updated>
<author>
<name>Ilya Biryukov</name>
<email>ibiryukov@google.com</email>
</author>
<published>2019-12-18T10:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=1ad15046dcf6ff8bafc4a1ea13f214f8d6ba7de6'/>
<id>urn:sha1:1ad15046dcf6ff8bafc4a1ea13f214f8d6ba7de6</id>
<content type='text'>
Summary:
This patch adds facilities to mutate the syntax trees and produce
corresponding text replacements.

The public interface of the syntax library now includes facilities to:
    1. perform type-safe modifications of syntax trees,
    2. compute textual replacements to apply the modifications,
    3. create syntax trees not backed by the source code.

For each of the three, we only add a few example transformations in this
patch to illustrate the idea, support for more kinds of nodes and
transformations will be done in follow-up patches.

The high-level mutation operations are implemented on top of operations
that allow to arbitrarily change the trees. They are considered to be
implementation details and are not available to the users of the
library.

Reviewers: sammccall, gribozavr2

Reviewed By: gribozavr2

Subscribers: merge_guards_bot, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64573
</content>
</entry>
<entry>
<title>[Tooling/Syntax] Helpers to find spelled tokens touching a location.</title>
<updated>2019-12-12T11:59:50+00:00</updated>
<author>
<name>Sam McCall</name>
<email>sam.mccall@gmail.com</email>
</author>
<published>2019-12-11T14:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3f8da5d0910772dc1f6198916a9141bf1d5be885'/>
<id>urn:sha1:3f8da5d0910772dc1f6198916a9141bf1d5be885</id>
<content type='text'>
Summary: Useful when positions are used to target nodes, with before/after ambiguity.

Reviewers: ilya-biryukov, kbobyrev

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71356
</content>
</entry>
</feed>
