Author: martong
Date: Mon Aug 6 07:38:37 2018
New Revision: 339018
URL: http://llvm.org/viewvc/llvm-project?rev=339018&view=rev
Log:
[ASTmporter] SourceRange-free function parameter checking for declarations
Summary: The previous code which avoided infinite recursion (because of
reparsing decla
Author: martong
Date: Thu Aug 9 05:18:07 2018
New Revision: 339334
URL: http://llvm.org/viewvc/llvm-project?rev=339334&view=rev
Log:
Add support for importing imaginary literals
Reviewers: a_sidorin, r.stahl, xazax.hun
Subscribers: rnkovacs, dkrupp, cfe-commits
Differential Revision: https://r
Author: martong
Date: Thu Aug 9 05:36:25 2018
New Revision: 339336
URL: http://llvm.org/viewvc/llvm-project?rev=339336&view=rev
Log:
Fix structural inequivalency of forward EnumDecl
Summary:
Currently we consider one forward declared RecordDecl and another with a
definition equal. We have to do
Author: martong
Date: Wed Aug 22 04:52:14 2018
New Revision: 340402
URL: http://llvm.org/viewvc/llvm-project?rev=340402&view=rev
Log:
Fix import of class templates partial specialization
Summary:
Currently there are several issues with the import of class template
specializations. (1) Different
Author: martong
Date: Wed May 16 04:48:11 2018
New Revision: 332454
URL: http://llvm.org/viewvc/llvm-project?rev=332454&view=rev
Log:
Test commit access: remove superflous spaces
Modified:
cfe/trunk/lib/AST/ASTImporter.cpp
Modified: cfe/trunk/lib/AST/ASTImporter.cpp
URL:
http://llvm.org/vie
Author: martong
Date: Thu May 17 02:46:07 2018
New Revision: 332588
URL: http://llvm.org/viewvc/llvm-project?rev=332588&view=rev
Log:
[ASTImporter] Fix missing implict CXXRecordDecl
Summary:
Implicit CXXRecordDecl is not added to its DeclContext during import, but in
the original AST it is. This
Author: martong
Date: Fri May 18 02:08:47 2018
New Revision: 332699
URL: http://llvm.org/viewvc/llvm-project?rev=332699&view=rev
Log:
Do not try to remove invisible Decls from DeclContext
Modified:
cfe/trunk/lib/AST/DeclBase.cpp
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/t
Author: martong
Date: Fri May 18 08:46:18 2018
New Revision: 332728
URL: http://llvm.org/viewvc/llvm-project?rev=332728&view=rev
Log:
[ASTImporter] Enable disabled but passing test
Summary:
There is a test which passes since D32947, but it was forgotten to be enabled.
This patch enables that disa
Author: martong
Date: Wed May 23 07:24:02 2018
New Revision: 333086
URL: http://llvm.org/viewvc/llvm-project?rev=333086&view=rev
Log:
[ASTImporter] Fix missing implict CXXRecordDecl in
ClassTemplateSpecializationDecl
Summary:
Currently we do not import the implicit CXXRecordDecl of a
ClassTempla
Author: martong
Date: Wed May 23 06:53:36 2018
New Revision: 333082
URL: http://llvm.org/viewvc/llvm-project?rev=333082&view=rev
Log:
Fix duplicate class template definitions problem
Summary:
We fail to import a `ClassTemplateDecl` if the "To" context already
contains a definition and then a forw
Author: martong
Date: Thu May 24 01:41:07 2018
New Revision: 333166
URL: http://llvm.org/viewvc/llvm-project?rev=333166&view=rev
Log:
[ASTImporter] Add unit tests for structural equivalence
Summary:
This patch add new tests for structural equivalence. For that a new
common header is created which
Author: martong
Date: Fri May 25 04:21:24 2018
New Revision: 333269
URL: http://llvm.org/viewvc/llvm-project?rev=333269&view=rev
Log:
[ASTImporter] Fix ClassTemplateSpecialization in wrong DC
Summary:
ClassTemplateSpecialization is put in the wrong DeclContex if implicitly
instantiated. This patc
Author: martong
Date: Wed May 30 02:19:26 2018
New Revision: 333522
URL: http://llvm.org/viewvc/llvm-project?rev=333522&view=rev
Log:
[ASTImporter] Corrected lookup at import of templated record decl
Summary:
When a CXXRecordDecl under ClassTemplateDecl is imported, check
the templated record dec
Author: martong
Date: Mon Sep 3 06:10:53 2018
New Revision: 341316
URL: http://llvm.org/viewvc/llvm-project?rev=341316&view=rev
Log:
[ASTImporter] Merge ExprBits
Summary:
Some `Expr` classes set up default values for the `ExprBits` of `Stmt`. These
default values are then overwritten by the par
Author: martong
Date: Mon Oct 29 03:18:28 2018
New Revision: 345496
URL: http://llvm.org/viewvc/llvm-project?rev=345496&view=rev
Log:
[ASTImporter] Import overrides before importing the rest of the chain
Summary:
During method import we check for structural eq of two methods.
In the structural eq
Author: martong
Date: Thu Jan 24 06:47:44 2019
New Revision: 352050
URL: http://llvm.org/viewvc/llvm-project?rev=352050&view=rev
Log:
[ASTImporter] Fix inequality of functions with different attributes
Summary:
FunctionType::ExtInfo holds such properties of a function which are needed
mostly for
Author: martong
Date: Thu Jan 24 07:42:20 2019
New Revision: 352055
URL: http://llvm.org/viewvc/llvm-project?rev=352055&view=rev
Log:
Fix failing buildbots
Related commit which caused the buildbots to fail:
rL352050
Modified:
cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp
Modified: c
Author: martong
Date: Thu Jan 24 08:27:21 2019
New Revision: 352060
URL: http://llvm.org/viewvc/llvm-project?rev=352060&view=rev
Log:
Fix failing buildbots
Fix remaining unittest errors caused by
__attribute__((no_caller_saved_registers))
Related commit which caused the buildbots to fail:
rL35205
Author: martong
Date: Mon Jan 28 02:01:11 2019
New Revision: 352345
URL: http://llvm.org/viewvc/llvm-project?rev=352345&view=rev
Log:
[AST] Add structural eq tests for template args
Summary:
New tests added to verify equivalency of templates when their
parameters are different.
Reviewers: a_sido
Author: martong
Date: Wed Oct 31 11:46:13 2018
New Revision: 345760
URL: http://llvm.org/viewvc/llvm-project?rev=345760&view=rev
Log:
[ASTImporter][Structural Eq] Check for isBeingDefined
Summary:
If one definition is currently being defined, we do not compare for
equality and we assume that the
Author: martong
Date: Tue Nov 20 06:19:39 2018
New Revision: 347306
URL: http://llvm.org/viewvc/llvm-project?rev=347306&view=rev
Log:
[ASTImporter] Set redecl chain of functions before any other import
Summary:
FunctionDecl import starts with a lookup and then we create a new Decl.
Then in case o
Author: martong
Date: Mon Nov 26 07:54:08 2018
New Revision: 347564
URL: http://llvm.org/viewvc/llvm-project?rev=347564&view=rev
Log:
[ASTImporter][Structural Eq] Check for isBeingDefined
Summary:
If one definition is currently being defined, we do not compare for
equality and we assume that the
Author: martong
Date: Tue Nov 27 01:51:36 2018
New Revision: 347648
URL: http://llvm.org/viewvc/llvm-project?rev=347648&view=rev
Log:
[ASTImporter] Typedef import brings in the complete type
Summary:
When we already have an incomplete underlying type of a typedef in the
"To" context, and the "Fro
Author: martong
Date: Fri Dec 7 03:55:22 2018
New Revision: 348584
URL: http://llvm.org/viewvc/llvm-project?rev=348584&view=rev
Log:
[CTU] Add statistics
Reviewers: xazax.hun, a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Differential Revision: https://reviews.llvm
Author: martong
Date: Fri Dec 7 04:21:43 2018
New Revision: 348586
URL: http://llvm.org/viewvc/llvm-project?rev=348586&view=rev
Log:
[CTU] Add asserts to protect invariants
Reviewers: xazax.hun, a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Differential Revision: h
Author: martong
Date: Fri Dec 7 04:29:02 2018
New Revision: 348587
URL: http://llvm.org/viewvc/llvm-project?rev=348587&view=rev
Log:
[CTU] Eliminate race condition in CTU lit tests
Summary:
We plan to introduce additional CTU related lit test. Since lit may run the
tests in parallel, it is not s
Author: martong
Date: Fri Dec 7 06:56:02 2018
New Revision: 348594
URL: http://llvm.org/viewvc/llvm-project?rev=348594&view=rev
Log:
[CTU] Add DisplayCTUProgress analyzer switch
Summary:
With a new switch we may be able to print to stderr if a new TU is being loaded
during CTU. This is very imp
Author: martong
Date: Fri Dec 7 08:05:58 2018
New Revision: 348605
URL: http://llvm.org/viewvc/llvm-project?rev=348605&view=rev
Log:
[CTU] Add more lit tests and better error handling
Summary:
Adding some more CTU list tests. E.g. to check if a construct is unsupported.
We also slightly modify t
Author: martong
Date: Fri Dec 7 08:27:31 2018
New Revision: 348609
URL: http://llvm.org/viewvc/llvm-project?rev=348609&view=rev
Log:
[CTU] test/Analysis/ctu-main.cpp Attempt to fix failing windows bot
Modified:
cfe/trunk/test/Analysis/ctu-main.cpp
Modified: cfe/trunk/test/Analysis/ctu-main.
Author: martong
Date: Fri Dec 7 08:32:43 2018
New Revision: 348610
URL: http://llvm.org/viewvc/llvm-project?rev=348610&view=rev
Log:
[CTU] Add triple/lang mismatch handling
Summary:
We introduce a strict policy for C++ CTU. It can work across TUs only if
the C++ dialects are the same. We neither
Author: martong
Date: Fri Dec 7 09:36:44 2018
New Revision: 348614
URL: http://llvm.org/viewvc/llvm-project?rev=348614&view=rev
Log:
[CTU] test/Analysis/ctu-main.cpp Attempt to fix failing windows bot
Modified:
cfe/trunk/test/Analysis/ctu-main.cpp
Modified: cfe/trunk/test/Analysis/ctu-main.
Author: martong
Date: Thu Feb 28 07:24:59 2019
New Revision: 355096
URL: http://llvm.org/viewvc/llvm-project?rev=355096&view=rev
Log:
[CTU] Do not allow different CPP dialects in CTU
Summary:
If CPP dialects are different then return with error.
Consider this STL code:
template
struct __al
Author: martong
Date: Tue Mar 5 03:23:24 2019
New Revision: 355390
URL: http://llvm.org/viewvc/llvm-project?rev=355390&view=rev
Log:
[ASTImporter] Fix redecl failures of Class and ClassTemplate
Summary:
Redecl chains of classes and class templates are not handled well
currently. We want to handl
Author: martong
Date: Thu Mar 7 05:01:51 2019
New Revision: 355593
URL: http://llvm.org/viewvc/llvm-project?rev=355593&view=rev
Log:
[ASTImporter] Handle redecl chain of FunctionTemplateDecls
Summary:
Redecl chains of function templates are not handled well currently. We
want to handle them simi
Author: martong
Date: Thu Mar 7 05:38:20 2019
New Revision: 355596
URL: http://llvm.org/viewvc/llvm-project?rev=355596&view=rev
Log:
[ASTImporter] Import member expr with explicit template args
Summary:
Member expressions with explicit template arguments were not imported
correctly: the DeclRefE
Author: martong
Date: Tue Mar 19 06:34:10 2019
New Revision: 356452
URL: http://llvm.org/viewvc/llvm-project?rev=356452&view=rev
Log:
[ASTImporter] Fix redecl failures of ClassTemplateSpec
Summary:
Redecl chains of class template specializations are not handled well
currently. We want to handle t
Author: martong
Date: Tue Mar 19 07:04:50 2019
New Revision: 356455
URL: http://llvm.org/viewvc/llvm-project?rev=356455&view=rev
Log:
[ASTImporter] Fix redecl failures of FunctionTemplateSpec
Summary:
Redecl chains of function template specializations are not handled well
currently. We want to ha
Author: martong
Date: Mon Apr 1 07:46:53 2019
New Revision: 357394
URL: http://llvm.org/viewvc/llvm-project?rev=357394&view=rev
Log:
[ASTImporter] Make ODR error handling configurable
Summary:
ODR errors are not necessarily true errors during the import of ASTs.
ASTMerge and CrossTU should use t
Author: martong
Date: Mon Apr 1 08:29:55 2019
New Revision: 357402
URL: http://llvm.org/viewvc/llvm-project?rev=357402&view=rev
Log:
[ASTImporter] Convert ODR diagnostics inside ASTImporter implementation
Summary:
ASTStructuralEquivalence uses a flag to indicate whether ODR diagnostics
should be
Author: martong
Date: Mon Apr 1 08:48:29 2019
New Revision: 357405
URL: http://llvm.org/viewvc/llvm-project?rev=357405&view=rev
Log:
Attempt to fix failing buildbot (ppc64le)
Modified:
cfe/trunk/lib/AST/ASTStructuralEquivalence.cpp
Modified: cfe/trunk/lib/AST/ASTStructuralEquivalence.cpp
UR
Author: martong
Date: Wed May 8 08:23:48 2019
New Revision: 360261
URL: http://llvm.org/viewvc/llvm-project?rev=360261&view=rev
Log:
[ASTImporter] Fix inequivalence of unresolved exception spec
Summary:
Structural equivalence of methods can falsely report false when the
exception specifier is un
Author: martong
Date: Mon Sep 17 05:04:52 2018
New Revision: 342384
URL: http://llvm.org/viewvc/llvm-project?rev=342384&view=rev
Log:
[ASTImporter] Fix import of VarDecl init
Summary:
The init expression of a VarDecl is overwritten in the "To" context if we
import a VarDecl without an init expres
Author: martong
Date: Thu Feb 7 08:52:48 2019
New Revision: 353425
URL: http://llvm.org/viewvc/llvm-project?rev=353425&view=rev
Log:
[ASTImporter] Refactor unittests to be able to parameterize them in a more
flexible way
Summary:
Currently `TestImportBase` is derived from `ParameterizedTestsFix
Author: martong
Date: Fri Feb 8 00:55:32 2019
New Revision: 353504
URL: http://llvm.org/viewvc/llvm-project?rev=353504&view=rev
Log:
[AST] Fix structural inequivalence of operators
Summary: Operators kind was not checked, so we reported e.g. op- to be equal
with op+
Reviewers: shafik, a_sidori
Author: martong
Date: Fri Feb 8 01:19:34 2019
New Revision: 353505
URL: http://llvm.org/viewvc/llvm-project?rev=353505&view=rev
Log:
[ASTImporter][ASTImporterSpecificLookup] Add test for different operators
Summary:
This is to check that operators are handled properly in
`ASTImporterSpecificLook
Author: martong
Date: Mon Feb 11 02:27:58 2019
New Revision: 353684
URL: http://llvm.org/viewvc/llvm-project?rev=353684&view=rev
Log:
[ASTImporter] Add test RedeclChainShouldBeCorrectAmongstNamespaces
Summary:
We add a new test to show that redecl chains are not handled properly
amongst namespace
Author: martong
Date: Thu Feb 14 05:07:03 2019
New Revision: 354027
URL: http://llvm.org/viewvc/llvm-project?rev=354027&view=rev
Log:
[ASTImporter] Check visibility/linkage of functions and variables
Summary:
During import of a global variable with external visibility the lookup
will find variabl
Author: martong
Date: Fri Feb 15 04:04:05 2019
New Revision: 354120
URL: http://llvm.org/viewvc/llvm-project?rev=354120&view=rev
Log:
[ASTImporter] Import every Decl in lambda record
Summary:
Previously only the fields were imported. Now every Decl is imported.
This way the destructor decl is not
Author: martong
Date: Mon Feb 18 03:09:56 2019
New Revision: 354259
URL: http://llvm.org/viewvc/llvm-project?rev=354259&view=rev
Log:
[ASTImporter] Unify redecl chain tests as type parameterized tests
Summary:
This patch unifies all those tests which check the correctness of the
redecl chains. Pr
Author: martong
Date: Mon Feb 18 05:09:27 2019
New Revision: 354267
URL: http://llvm.org/viewvc/llvm-project?rev=354267&view=rev
Log:
[ASTImporter] Find previous friend function template
Reviewers: a_sidorin, shafik, a.sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tag
Author: martong
Date: Wed Feb 20 08:57:41 2019
New Revision: 354482
URL: http://llvm.org/viewvc/llvm-project?rev=354482&view=rev
Log:
Fix compile error with Intel's compiler (-Werror=pedantic)
An extra semicolon at the end of macro invocations caused a build bot
failure for Intel's compiler when
Author: martong
Date: Wed Feb 20 11:07:36 2019
New Revision: 354503
URL: http://llvm.org/viewvc/llvm-project?rev=354503&view=rev
Log:
Fix remaining semicolon pedantic errors for intel
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp
Author: martong
Date: Tue Jun 11 06:35:25 2019
New Revision: 363062
URL: http://llvm.org/viewvc/llvm-project?rev=363062&view=rev
Log:
[ASTImporter] Fix unhandled cases in ASTImporterLookupTable
Summary:
In most cases the FriendDecl contains the declaration of the befriended
class as a child node,
Author: martong
Date: Wed Jul 17 06:47:46 2019
New Revision: 366325
URL: http://llvm.org/viewvc/llvm-project?rev=366325&view=rev
Log:
[ASTImporter] Fix LLDB lookup in transparent ctx and with ext src
Summary:
With LLDB we use localUncachedLookup(), however, that fails to find
Decls when a transpa
Author: martong
Date: Wed Jul 17 07:40:09 2019
New Revision: 366332
URL: http://llvm.org/viewvc/llvm-project?rev=366332&view=rev
Log:
[ASTImporter] Fix structural eq of lambdas
Summary:
The structural equivalence check reported false eq between lambda classes
with different parameters in their ca
Author: martong
Date: Thu Jul 18 07:03:25 2019
New Revision: 366439
URL: http://llvm.org/viewvc/llvm-project?rev=366439&view=rev
Log:
[analyzer] Add CTU user docs
Reviewers: dkrupp, a_sidorin, Szelethus, NoQ
Subscribers: whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs,
a.sidorin, mi
Author: martong
Date: Tue Jul 23 08:46:38 2019
New Revision: 366818
URL: http://llvm.org/viewvc/llvm-project?rev=366818&view=rev
Log:
[ASTImporter] Fix inequivalence of ClassTemplateInstantiations
Summary:
We falsely state inequivalence if the template parameter is a
qualified/nonquialified templ
Author: martong
Date: Thu Jul 25 02:07:17 2019
New Revision: 366997
URL: http://llvm.org/viewvc/llvm-project?rev=366997&view=rev
Log:
[ASTImporter] Reorder fields after structure import is finished
We reorder declarations in RecordDecls because they may have another order
in the "to" context than
Author: martong
Date: Tue Aug 6 02:52:21 2019
New Revision: 368009
URL: http://llvm.org/viewvc/llvm-project?rev=368009&view=rev
Log:
Add User docs for ASTImporter
Summary:
This document includes the description of the ASTImporter from the user/client
perspective.
A subsequent patch will describe
Author: martong
Date: Mon Aug 12 05:46:28 2019
New Revision: 368562
URL: http://llvm.org/viewvc/llvm-project?rev=368562&view=rev
Log:
[CrossTU] User docs: remove temporary limiation with macro expansion
D65064, D64635, D64638 pathces solve the issue with macor expansion.
Modified:
cfe/trunk/
Author: martong
Date: Fri Aug 16 05:21:49 2019
New Revision: 369099
URL: http://llvm.org/viewvc/llvm-project?rev=369099&view=rev
Log:
Fix typos in LibASTImporter.rst
Modified:
cfe/trunk/docs/LibASTImporter.rst
Modified: cfe/trunk/docs/LibASTImporter.rst
URL:
http://llvm.org/viewvc/llvm-proj
Author: martong
Date: Tue Jun 25 01:00:51 2019
New Revision: 364279
URL: http://llvm.org/viewvc/llvm-project?rev=364279&view=rev
Log:
[ASTImporter] Store import errors for Decls
Summary:
We add a new member which is a mapping from the already-imported
declarations in the "from" context to the err
Author: martong
Date: Fri Jun 28 01:08:51 2019
New Revision: 364630
URL: http://llvm.org/viewvc/llvm-project?rev=364630&view=rev
Log:
[CTU] Add missing statistics
Reviewers: xazax.hun
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://r
Author: martong
Date: Mon Jul 1 05:44:39 2019
New Revision: 364752
URL: http://llvm.org/viewvc/llvm-project?rev=364752&view=rev
Log:
[ASTImporter] Propagate error from ImportDeclContext
Summary:
During analysis of one project we failed to import one
CXXDestructorDecl. But since we did not propag
Author: martong
Date: Mon Jul 1 07:19:53 2019
New Revision: 364771
URL: http://llvm.org/viewvc/llvm-project?rev=364771&view=rev
Log:
[ASTImporter] Mark erroneous nodes in from ctx
Summary:
During import of a specific Decl D, it may happen that some AST nodes
had already been created before we re
Author: martong
Date: Mon Jul 1 08:37:07 2019
New Revision: 364785
URL: http://llvm.org/viewvc/llvm-project?rev=364785&view=rev
Log:
[ASTImporter] Mark erroneous nodes in shared st
Summary:
Now we store the errors for the Decls in the "to" context too. For
that, however, we have to put these err
Author: martong
Date: Tue Jul 2 00:36:39 2019
New Revision: 364889
URL: http://llvm.org/viewvc/llvm-project?rev=364889&view=rev
Log:
[ASTImporter] Structural eq: handle DependentScopeDeclRefExpr
Summary:
Structural equivalence did not handle dependent template args properly
when the arg containe
Author: martong
Date: Thu Jul 4 04:39:00 2019
New Revision: 365133
URL: http://llvm.org/viewvc/llvm-project?rev=365133&view=rev
Log:
[CTU] Add support for virtual functions
Reviewers: Szelethus, xazax.hun
Subscribers: rnkovacs, dkrupp, gamesh411, cfe-commits
Tags: #clang
Differential Revision
Author: martong
Date: Mon Jul 8 05:49:13 2019
New Revision: 365315
URL: http://llvm.org/viewvc/llvm-project?rev=365315&view=rev
Log:
[ASTImporter] Fix import of lambda in function param
Summary:
The current import implementation fails to import the definition of a
lambda class if the lambda clas
Author: martong
Date: Wed Jul 10 07:49:53 2019
New Revision: 365639
URL: http://llvm.org/viewvc/llvm-project?rev=365639&view=rev
Log:
[analyzer]Add user docs rst
Summary:
Add user documentation page. This is an empty page atm, later patches will add
the specific user documentatoins.
Reviewers: d
Author: martong
Date: Mon May 13 03:06:25 2019
New Revision: 360572
URL: http://llvm.org/viewvc/llvm-project?rev=360572&view=rev
Log:
[ASTImporter] Separate unittest files
Summary:
Move generic redecl chain tests and visibility tests into their own
separate test files.
Reviewers: a_sidorin, a.si
Author: martong
Date: Wed May 15 03:29:48 2019
New Revision: 360760
URL: http://llvm.org/viewvc/llvm-project?rev=360760&view=rev
Log:
[ASTImporter] Use llvm::Expected and Error in the importer API
Summary:
This is the final phase of the refactoring towards using llvm::Expected
and llvm::Error in
Author: martong
Date: Mon May 20 03:38:14 2019
New Revision: 361139
URL: http://llvm.org/viewvc/llvm-project?rev=361139&view=rev
Log:
[ASTImporter] Enable disabled but passing tests
Reviewers: a_sidorin, a.sidorin, shafik
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #c
Author: martong
Date: Wed Dec 12 03:22:55 2018
New Revision: 348923
URL: http://llvm.org/viewvc/llvm-project?rev=348923&view=rev
Log:
[ASTImporter] Remove import of definition from GetAlreadyImportedOrNull
Summary: a_sidorin
Reviewers: a.sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, cfe-com
Author: martong
Date: Mon Dec 17 04:42:12 2018
New Revision: 349349
URL: http://llvm.org/viewvc/llvm-project?rev=349349&view=rev
Log:
[ASTImporter] Fix redecl chain of classes and class templates
Summary:
The crux of the issue that is being fixed is that lookup could not find
previous decls of a
Author: martong
Date: Mon Dec 17 05:53:12 2018
New Revision: 349351
URL: http://llvm.org/viewvc/llvm-project?rev=349351&view=rev
Log:
[ASTImporter] Add importer specific lookup
Summary:
There are certain cases when normal C/C++ lookup (localUncachedLookup)
does not find AST nodes. E.g.:
Example
Author: martong
Date: Mon Jan 7 06:05:19 2019
New Revision: 350521
URL: http://llvm.org/viewvc/llvm-project?rev=350521&view=rev
Log:
[CTU] Make loadExternalAST return with non nullptr on success
Summary:
In loadExternalAST we return with either an error or with a valid
ASTUnit pointer which shou
Author: martong
Date: Fri Sep 13 04:21:52 2019
New Revision: 371839
URL: http://llvm.org/viewvc/llvm-project?rev=371839&view=rev
Log:
[ASTImporter] Add development internals docs
Reviewers: a_sidorin, shafik, teemperor, gamesh411, balazske, dkrupp, a.sidorin
Subscribers: rnkovacs, Szelethus, cfe
Author: martong
Date: Mon Sep 23 02:32:07 2019
New Revision: 372564
URL: http://llvm.org/viewvc/llvm-project?rev=372564&view=rev
Log:
[ASTImporter][NFC] Add comprehensive tests for ODR violation handling strategies
Summary:
In this patch we provide additional and comprehensive tests for the ODR
h
Author: martong
Date: Mon Sep 23 10:29:08 2019
New Revision: 372633
URL: http://llvm.org/viewvc/llvm-project?rev=372633&view=rev
Log:
[ASTImporter] Attempt to fix Windows buildbot test errors
Modified:
cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
Modified: cfe/trunk/unittests/AST
Author: martong
Date: Mon Sep 23 12:49:45 2019
New Revision: 372646
URL: http://llvm.org/viewvc/llvm-project?rev=372646&view=rev
Log:
[ASTImporter] 2nd attempt to fix Windows buildbot test errors
Modified:
cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
Modified: cfe/trunk/unittests
Author: martong
Date: Mon Sep 23 22:50:02 2019
New Revision: 372688
URL: http://llvm.org/viewvc/llvm-project?rev=372688&view=rev
Log:
[ASTImporter] 3rd attempt to fix Windows buildbot test errors
Modified:
cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
Modified: cfe/trunk/unittests
Author: martong
Date: Tue Sep 24 02:00:46 2019
New Revision: 372705
URL: http://llvm.org/viewvc/llvm-project?rev=372705&view=rev
Log:
[ASTImporter] 4th attempt to fix Windows buildbot test errors
Modified:
cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp
Modified: cfe/trunk/unittests
Author: martong
Date: Mon Jun 25 04:38:43 2018
New Revision: 335455
URL: http://llvm.org/viewvc/llvm-project?rev=335455&view=rev
Log:
[ASTImporter] Add new tests about templated-described swing
Summary:
Add a new test about importing a partial specialization (of a class). Also,
this patch adds n
Author: martong
Date: Mon Jun 25 06:04:37 2018
New Revision: 335464
URL: http://llvm.org/viewvc/llvm-project?rev=335464&view=rev
Log:
[ASTImporter] Add ms compatibility to tests which use the TestBase
Summary:
In order to avoid build failures on MS, we use -fms-compatibility too in
the tests whic
Author: martong
Date: Mon Jun 25 07:41:58 2018
New Revision: 335480
URL: http://llvm.org/viewvc/llvm-project?rev=335480&view=rev
Log:
[ASTImporter] Import the whole redecl chain of functions
Summary:
With this patch when any `FunctionDecl` of a redeclaration chain is imported
then we bring in the
Author: martong
Date: Mon Jun 25 09:25:30 2018
New Revision: 335491
URL: http://llvm.org/viewvc/llvm-project?rev=335491&view=rev
Log:
Revert "[ASTImporter] Import the whole redecl chain of functions"
This reverts commit r335480.
Modified:
cfe/trunk/include/clang/AST/ASTImporter.h
cfe/tru
Author: martong
Date: Tue Jun 26 06:44:24 2018
New Revision: 335600
URL: http://llvm.org/viewvc/llvm-project?rev=335600&view=rev
Log:
[ASTImporter] Use InjectedClassNameType at import of templated record.
Summary:
At import of a record describing a template set its type to
InjectedClassNameType (
Author: martong
Date: Wed Jun 27 06:32:50 2018
New Revision: 335731
URL: http://llvm.org/viewvc/llvm-project?rev=335731&view=rev
Log:
Re-apply: [ASTImporter] Import the whole redecl chain of functions
Summary:
With this patch when any `FunctionDecl` of a redeclaration chain is imported
then we br
Author: martong
Date: Fri Jun 29 03:25:19 2018
New Revision: 335959
URL: http://llvm.org/viewvc/llvm-project?rev=335959&view=rev
Log:
[ASTImporter] Eliminated some unittest warnings.
Summary:
When running the ASTTests test, warnings produced by the compiler can be
distracting when looking for tes
Author: martong
Date: Fri Jun 29 05:17:34 2018
New Revision: 335968
URL: http://llvm.org/viewvc/llvm-project?rev=335968&view=rev
Log:
[ASTImporter] Added import of CXXStdInitializerListExpr
Reviewers: a.sidorin
Reviewed By: a.sidorin
Subscribers: martong, cfe-commits
Differential Revision: htt
Author: martong
Date: Thu Jul 5 02:51:13 2018
New Revision: 336332
URL: http://llvm.org/viewvc/llvm-project?rev=336332&view=rev
Log:
[ASTImporter] Fix import of objects with anonymous types
Summary:
Currently, anonymous types are merged into the same redecl chain even if they
are structurally in
Author: martong
Date: Thu Jul 12 02:42:05 2018
New Revision: 336896
URL: http://llvm.org/viewvc/llvm-project?rev=336896&view=rev
Log:
[ASTImporter] Refactor Decl creation
Summary:
Generalize the creation of Decl nodes during Import. With this patch we do the
same things after and before a new AS
Author: martong
Date: Thu Jul 12 04:50:21 2018
New Revision: 336898
URL: http://llvm.org/viewvc/llvm-project?rev=336898&view=rev
Log:
[ASTImporter] Fix infinite recursion on function import with struct definition
in parameters
Summary:
Importing a function having a struct definition in the param
Author: martong
Date: Tue Jul 17 05:06:36 2018
New Revision: 337267
URL: http://llvm.org/viewvc/llvm-project?rev=337267&view=rev
Log:
[ASTImporter] Fix import of unnamed structs
Summary:
D48773 simplified ASTImporter nicely, but it introduced a new error: Unnamed
structs are not imported correctl
Author: martong
Date: Tue Jul 17 05:39:27 2018
New Revision: 337275
URL: http://llvm.org/viewvc/llvm-project?rev=337275&view=rev
Log:
[ASTImporter] Fix poisonous structural equivalence cache
Summary:
Implementation functions call into the member functions of
ASTStructuralEquivalence, thus they ca
Author: martong
Date: Mon Oct 7 04:14:53 2019
New Revision: 373894
URL: http://llvm.org/viewvc/llvm-project?rev=373894&view=rev
Log:
[ASTImporter][NFC] Fix typo in user docs
Modified:
cfe/trunk/docs/LibASTImporter.rst
Modified: cfe/trunk/docs/LibASTImporter.rst
URL:
http://llvm.org/viewvc/
Author: martong
Date: Mon Oct 7 04:15:18 2019
New Revision: 373895
URL: http://llvm.org/viewvc/llvm-project?rev=373895&view=rev
Log:
[ASTImporter][NFC] Update ASTImporter internals docs
Modified:
cfe/trunk/docs/InternalsManual.rst
Modified: cfe/trunk/docs/InternalsManual.rst
URL:
http://ll
Author: martong
Date: Mon Oct 7 04:34:54 2019
New Revision: 373896
URL: http://llvm.org/viewvc/llvm-project?rev=373896&view=rev
Log:
[ASTImporter][NFC] Enable disabled but passing test
RedeclChainShouldBeCorrectAmongstNamespaces
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modifie
Author: Gabor Marton
Date: 2020-05-29T16:13:57+02:00
New Revision: bd03ef19beb8a3476d5cd9f744c5fba5ca287c51
URL:
https://github.com/llvm/llvm-project/commit/bd03ef19beb8a3476d5cd9f744c5fba5ca287c51
DIFF:
https://github.com/llvm/llvm-project/commit/bd03ef19beb8a3476d5cd9f744c5fba5ca287c51.diff
1 - 100 of 223 matches
Mail list logo