<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang/lib/Frontend/ASTMerge.cpp, 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>2019-07-01T15:37:07+00:00</updated>
<entry>
<title>[ASTImporter] Mark erroneous nodes in shared st</title>
<updated>2019-07-01T15:37:07+00:00</updated>
<author>
<name>Gabor Marton</name>
<email>gabor.marton@ericsson.com</email>
</author>
<published>2019-07-01T15:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2afbfb6b2268b8ba7fa9584784e8b11ef97c064a'/>
<id>urn:sha1:2afbfb6b2268b8ba7fa9584784e8b11ef97c064a</id>
<content type='text'>
Summary:
Now we store the errors for the Decls in the "to" context too. For
that, however, we have to put these errors in a shared state (among all
the ASTImporter objects which handle the same "to" context but different
"from" contexts).

After a series of imports from different "from" TUs we have a "to" context
which may have erroneous nodes in it. (Remember, the AST is immutable so
there is no way to delete a node once we had created it and we realized
the error later.) All these erroneous nodes are marked in
ASTImporterSharedState::ImportErrors.  Clients of the ASTImporter may
use this as an input. E.g. the static analyzer engine may not try to
analyze a function if that is marked as erroneous (it can be queried via
ASTImporterSharedState::getImportDeclErrorIfAny()).

Reviewers: a_sidorin, a.sidorin, shafik

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

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

llvm-svn: 364785
</content>
</entry>
<entry>
<title>[ASTImporter] Use llvm::Expected and Error in the importer API</title>
<updated>2019-05-15T10:29:48+00:00</updated>
<author>
<name>Gabor Marton</name>
<email>martongabesz@gmail.com</email>
</author>
<published>2019-05-15T10:29:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5ac6d49065df82b7015fabb533e7a130b8e7f86f'/>
<id>urn:sha1:5ac6d49065df82b7015fabb533e7a130b8e7f86f</id>
<content type='text'>
Summary:
This is the final phase of the refactoring towards using llvm::Expected
and llvm::Error in the ASTImporter API.
This involves the following:
- remove old Import functions which returned with a pointer,
- use the Import_New functions (which return with Err or Expected) everywhere
  and handle their return value
- rename Import_New functions to Import
This affects both Clang and LLDB.

Reviewers: shafik, teemperor, aprantl, a_sidorin, balazske, a.sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits, lldb-commits

Tags: #clang, #lldb

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

llvm-svn: 360760
</content>
</entry>
<entry>
<title>Changed every use of ASTImporter::Import to Import_New</title>
<updated>2019-04-08T13:59:15+00:00</updated>
<author>
<name>Balazs Keri</name>
<email>1.int32@gmail.com</email>
</author>
<published>2019-04-08T13:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a1f6b103f3964bcdf434e2c45428b4f097454cb6'/>
<id>urn:sha1:a1f6b103f3964bcdf434e2c45428b4f097454cb6</id>
<content type='text'>
Reviewers: a.sidorin, shafik, martong, a_sidorin

Reviewed By: a_sidorin

Subscribers: rnkovacs, dkrupp, martong, Szelethus, gamesh411, cfe-commits

Tags: #clang

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

llvm-svn: 357913
</content>
</entry>
<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='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2946cd701067404b99c39fb29dc9c74bd7193eb3'/>
<id>urn:sha1:2946cd701067404b99c39fb29dc9c74bd7193eb3</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.

llvm-svn: 351636
</content>
</entry>
<entry>
<title>[ASTImporter] Add importer specific lookup</title>
<updated>2018-12-17T13:53:12+00:00</updated>
<author>
<name>Gabor Marton</name>
<email>martongabesz@gmail.com</email>
</author>
<published>2018-12-17T13:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=54058b5055c16fb700854223d6453a35c3c59ea8'/>
<id>urn:sha1:54058b5055c16fb700854223d6453a35c3c59ea8</id>
<content type='text'>
Summary:
There are certain cases when normal C/C++ lookup (localUncachedLookup)
does not find AST nodes. E.g.:

Example 1:

  template &lt;class T&gt;
  struct X {
    friend void foo(); // this is never found in the DC of the TU.
  };

Example 2:

  // The fwd decl to Foo is not found in the lookupPtr of the DC of the
  // translation unit decl.
  struct A { struct Foo *p; };

In these cases we create a new node instead of returning with the old one.
To fix it we create a new lookup table which holds every node and we are
not interested in any C++ specific visibility considerations.
Simply, we must know if there is an existing Decl in a given DC.

Reviewers: a_sidorin, a.sidorin

Subscribers: mgorny, rnkovacs, dkrupp, Szelethus, cfe-commits

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

llvm-svn: 349351
</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='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6907ce2f8f7410b179beb6e2db9c8d16a257ce9f'/>
<id>urn:sha1:6907ce2f8f7410b179beb6e2db9c8d16a257ce9f</id>
<content type='text'>
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h}

llvm-svn: 338291
</content>
</entry>
<entry>
<title>Revert r329684 (and follow-ups 329693, 329714). See discussion on https://reviews.llvm.org/D43578.</title>
<updated>2018-04-10T18:53:28+00:00</updated>
<author>
<name>Nico Weber</name>
<email>nicolasweber@gmx.de</email>
</author>
<published>2018-04-10T18:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ade321e7ddf76483ea8b9fd2921216e026c9dc1b'/>
<id>urn:sha1:ade321e7ddf76483ea8b9fd2921216e026c9dc1b</id>
<content type='text'>
llvm-svn: 329739
</content>
</entry>
<entry>
<title>-ftime-report switch support in Clang.</title>
<updated>2018-04-10T10:34:13+00:00</updated>
<author>
<name>Andrew V. Tischenko</name>
<email>andrew.v.tischenko@gmail.com</email>
</author>
<published>2018-04-10T10:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c88deb100f1d4a1d14dbcc42de01d325919ebec6'/>
<id>urn:sha1:c88deb100f1d4a1d14dbcc42de01d325919ebec6</id>
<content type='text'>
The current support of the feature produces only 2 lines in report:
 -Some general Code Generation Time;
 -Total time of Backend Consumer actions.
This patch extends Clang time report with new lines related to Preprocessor, Include Filea Search, Parsing, etc.
Differential Revision: https://reviews.llvm.org/D43578

llvm-svn: 329684
</content>
</entry>
<entry>
<title>Fix typos in clang</title>
<updated>2018-04-06T15:14:32+00:00</updated>
<author>
<name>Alexander Kornienko</name>
<email>alexfh@google.com</email>
</author>
<published>2018-04-06T15:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2a8c18d99118827ff752cc8952a2096f33715f31'/>
<id>urn:sha1:2a8c18d99118827ff752cc8952a2096f33715f31</id>
<content type='text'>
Found via codespell -q 3 -I ../clang-whitelist.txt
Where whitelist consists of:

  archtype
  cas
  classs
  checkk
  compres
  definit
  frome
  iff
  inteval
  ith
  lod
  methode
  nd
  optin
  ot
  pres
  statics
  te
  thru

Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few
files that have dubious fixes reverted.)

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

llvm-svn: 329399
</content>
</entry>
<entry>
<title>Teach ASTReader how to read only the Preprocessor state from an AST file, not the ASTContext state.</title>
<updated>2017-06-29T23:23:46+00:00</updated>
<author>
<name>Richard Smith</name>
<email>richard-llvm@metafoo.co.uk</email>
</author>
<published>2017-06-29T23:23:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=dbafb6c3384301f6217b6ad851eceae3a363c243'/>
<id>urn:sha1:dbafb6c3384301f6217b6ad851eceae3a363c243</id>
<content type='text'>
We use this when running a preprocessor-only action on an AST file in order to
avoid paying the runtime cost of loading the extra information.

llvm-svn: 306760
</content>
</entry>
</feed>
