<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/clang.git/lib/Basic/SourceLocation.cpp, branch master</title>
<subtitle>llvm.org: Obsolete (use llvm)
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/'/>
<entry>
<title>Update the file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T08:50:56+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T08:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=324f918438715b4a0d024af5930628c1674f4fcd'/>
<id>324f918438715b4a0d024af5930628c1674f4fcd</id>
<content type='text'>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Add dump() method for SourceRange</title>
<updated>2018-08-30T23:10:52+00:00</updated>
<author>
<name>Stephen Kelly</name>
<email>steveire@gmail.com</email>
</author>
<published>2018-08-30T23:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=d0fdb4f35f05c4ec6bb98d431037f925ab5aa32b'/>
<id>d0fdb4f35f05c4ec6bb98d431037f925ab5aa32b</id>
<content type='text'>
Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341140 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341140 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a newline to SourceLocation dump output</title>
<updated>2018-08-15T20:32:06+00:00</updated>
<author>
<name>Stephen Kelly</name>
<email>steveire@gmail.com</email>
</author>
<published>2018-08-15T20:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=8601e55c98b1dddab0ce64d58937b31f590390ca'/>
<id>8601e55c98b1dddab0ce64d58937b31f590390ca</id>
<content type='text'>
Summary:
Migrate callers to print().

dump() should be useful to downstreams and third parties as a debugging
aid.  Everyone trips up on this and creates confusing output.

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339810 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Migrate callers to print().

dump() should be useful to downstreams and third parties as a debugging
aid.  Everyone trips up on this and creates confusing output.

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339810 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing space</title>
<updated>2018-07-30T19:24:48+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2018-07-30T19:24:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=abdbb605f2c3cbe63cd589da230f648535dff76b'/>
<id>abdbb605f2c3cbe63cd589da230f648535dff76b</id>
<content type='text'>
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h}

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338291 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h}

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338291 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>PR37189 Fix incorrect end source location and spelling for a split '&gt;&gt;' token.</title>
<updated>2018-04-30T05:25:48+00:00</updated>
<author>
<name>Richard Smith</name>
<email>richard-llvm@metafoo.co.uk</email>
</author>
<published>2018-04-30T05:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=ef91bd38cd94e34b4b0a30e225e507f5c10087d3'/>
<id>ef91bd38cd94e34b4b0a30e225e507f5c10087d3</id>
<content type='text'>
When a '&gt;&gt;' token is split into two '&gt;' tokens (in C++11 onwards), or (as an
extension) when we do the same for other tokens starting with a '&gt;', we can't
just use a location pointing to the first '&gt;' as the location of the split
token, because that would result in our miscomputing the length and spelling
for the token. As a consequence, for example, a refactoring replacing 'A&lt;X&gt;'
with something else would sometimes replace one character too many, and
similarly diagnostics highlighting a template-id source range would highlight
one character too many.

Fix this by creating an expansion range covering the first character of the
'&gt;&gt;' token, whose spelling is '&gt;'. For this to work, we generalize the
expansion range of a macro FileID to be either a token range (the common case)
or a character range (used in this new case).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331155 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a '&gt;&gt;' token is split into two '&gt;' tokens (in C++11 onwards), or (as an
extension) when we do the same for other tokens starting with a '&gt;', we can't
just use a location pointing to the first '&gt;' as the location of the split
token, because that would result in our miscomputing the length and spelling
for the token. As a consequence, for example, a refactoring replacing 'A&lt;X&gt;'
with something else would sometimes replace one character too many, and
similarly diagnostics highlighting a template-id source range would highlight
one character too many.

Fix this by creating an expansion range covering the first character of the
'&gt;&gt;' token, whose spelling is '&gt;'. For this to work, we generalize the
expansion range of a macro FileID to be either a token range (the common case)
or a character range (used in this new case).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331155 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>[Basic] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).</title>
<updated>2018-02-16T23:40:07+00:00</updated>
<author>
<name>Eugene Zelenko</name>
<email>eugene.zelenko@gmail.com</email>
</author>
<published>2018-02-16T23:40:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=53d982bea4e15405c228fd90afc486c36d71feed'/>
<id>53d982bea4e15405c228fd90afc486c36d71feed</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325412 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325412 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "[NFC] Refactor DiagnosticRenderer to use FullSourceLoc""</title>
<updated>2017-06-27T09:50:38+00:00</updated>
<author>
<name>Christof Douma</name>
<email>Christof.Douma@arm.com</email>
</author>
<published>2017-06-27T09:50:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=8aeb339f3264950654be882dbcf83ad0d47e5ffa'/>
<id>8aeb339f3264950654be882dbcf83ad0d47e5ffa</id>
<content type='text'>
This reverts commit r305688 meaning it reintroduces r305684. To repeat:

[NFC] Refactor DiagnosticRenderer to use FullSourceLoc

Move the DiagnosticRenderer and its dependents to using FullSourceLocs
instead of a SourceLocation and SourceManager pointer. The changeset is
rather large but entirely mechanical.

This is step one to allow DiagnosticRenderer to take either
llvm::SMLocs or clang::SourceLocations.

This breaks clang-tidy and clng-query which will be fixed in a commit
soon after.

Patch by Sanne Wouda

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306384 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit r305688 meaning it reintroduces r305684. To repeat:

[NFC] Refactor DiagnosticRenderer to use FullSourceLoc

Move the DiagnosticRenderer and its dependents to using FullSourceLocs
instead of a SourceLocation and SourceManager pointer. The changeset is
rather large but entirely mechanical.

This is step one to allow DiagnosticRenderer to take either
llvm::SMLocs or clang::SourceLocations.

This breaks clang-tidy and clng-query which will be fixed in a commit
soon after.

Patch by Sanne Wouda

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306384 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[NFC] Refactor DiagnosticRenderer to use FullSourceLoc"</title>
<updated>2017-06-19T12:41:22+00:00</updated>
<author>
<name>Christof Douma</name>
<email>Christof.Douma@arm.com</email>
</author>
<published>2017-06-19T12:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=27337711cd7156c2c7f48abe33b4e1f6771a261e'/>
<id>27337711cd7156c2c7f48abe33b4e1f6771a261e</id>
<content type='text'>
This reverts commit 305684.
This patch breaks extra/tools/clang-tidy

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305688 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 305684.
This patch breaks extra/tools/clang-tidy

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305688 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Refactor DiagnosticRenderer to use FullSourceLoc</title>
<updated>2017-06-19T12:05:58+00:00</updated>
<author>
<name>Christof Douma</name>
<email>Christof.Douma@arm.com</email>
</author>
<published>2017-06-19T12:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=121eb4635e5ad68938f4598befb9eee3dfc73dc9'/>
<id>121eb4635e5ad68938f4598befb9eee3dfc73dc9</id>
<content type='text'>
Move the DiagnosticRenderer and its dependents to using FullSourceLocs
instead of a SourceLocation and SourceManager pointer. The changeset is
rather large but entirely mechanical.

This is step one to allow DiagnosticRenderer to take either
llvm::SMLocs or clang::SourceLocations.

Patch by Sanne Wouda

Review: https://reviews.llvm.org/D31709

Change-Id: If351a112cdf6718e2d3ef6721b8da9c6376b32dd

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305684 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the DiagnosticRenderer and its dependents to using FullSourceLocs
instead of a SourceLocation and SourceManager pointer. The changeset is
rather large but entirely mechanical.

This is step one to allow DiagnosticRenderer to take either
llvm::SMLocs or clang::SourceLocations.

Patch by Sanne Wouda

Review: https://reviews.llvm.org/D31709

Change-Id: If351a112cdf6718e2d3ef6721b8da9c6376b32dd

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305684 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Header cleanup</title>
<updated>2016-07-18T19:02:11+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>mehdi.amini@apple.com</email>
</author>
<published>2016-07-18T19:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/clang.git/commit/?id=2e23251d3e91db37d19bf876f91b85059ead2491'/>
<id>2e23251d3e91db37d19bf876f91b85059ead2491</id>
<content type='text'>
Summary: Removed unused headers, replaced some headers with forward class declarations

Patch by: Eugene &lt;claprix@yandex.ru&gt;

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275882 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Removed unused headers, replaced some headers with forward class declarations

Patch by: Eugene &lt;claprix@yandex.ru&gt;

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275882 91177308-0d34-0410-b5e6-96231b3b80d8
</pre>
</div>
</content>
</entry>
</feed>
