r339018 - [ASTmporter] SourceRange-free function parameter checking for declarations

2018-08-06 Thread Gabor Marton via cfe-commits
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

r339334 - Add support for importing imaginary literals

2018-08-09 Thread Gabor Marton via cfe-commits
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

r339336 - Fix structural inequivalency of forward EnumDecl

2018-08-09 Thread Gabor Marton via cfe-commits
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

r340402 - Fix import of class templates partial specialization

2018-08-22 Thread Gabor Marton via cfe-commits
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

r332454 - Test commit access: remove superflous spaces

2018-05-16 Thread Gabor Marton via cfe-commits
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

r332588 - [ASTImporter] Fix missing implict CXXRecordDecl

2018-05-17 Thread Gabor Marton via cfe-commits
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

r332699 - Do not try to remove invisible Decls from DeclContext

2018-05-18 Thread Gabor Marton via cfe-commits
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

r332728 - [ASTImporter] Enable disabled but passing test

2018-05-18 Thread Gabor Marton via cfe-commits
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

r333086 - [ASTImporter] Fix missing implict CXXRecordDecl in ClassTemplateSpecializationDecl

2018-05-23 Thread Gabor Marton via cfe-commits
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

r333082 - Fix duplicate class template definitions problem

2018-05-23 Thread Gabor Marton via cfe-commits
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

r333166 - [ASTImporter] Add unit tests for structural equivalence

2018-05-24 Thread Gabor Marton via cfe-commits
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

r333269 - [ASTImporter] Fix ClassTemplateSpecialization in wrong DC

2018-05-25 Thread Gabor Marton via cfe-commits
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

r333522 - [ASTImporter] Corrected lookup at import of templated record decl

2018-05-30 Thread Gabor Marton via cfe-commits
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

r341316 - [ASTImporter] Merge ExprBits

2018-09-03 Thread Gabor Marton via cfe-commits
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

r345496 - [ASTImporter] Import overrides before importing the rest of the chain

2018-10-29 Thread Gabor Marton via cfe-commits
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

r352050 - [ASTImporter] Fix inequality of functions with different attributes

2019-01-24 Thread Gabor Marton via cfe-commits
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

r352055 - Fix failing buildbots

2019-01-24 Thread Gabor Marton via cfe-commits
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

r352060 - Fix failing buildbots

2019-01-24 Thread Gabor Marton via cfe-commits
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

r352345 - [AST] Add structural eq tests for template args

2019-01-28 Thread Gabor Marton via cfe-commits
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

r345760 - [ASTImporter][Structural Eq] Check for isBeingDefined

2018-10-31 Thread Gabor Marton via cfe-commits
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

r347306 - [ASTImporter] Set redecl chain of functions before any other import

2018-11-20 Thread Gabor Marton via cfe-commits
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

r347564 - [ASTImporter][Structural Eq] Check for isBeingDefined

2018-11-26 Thread Gabor Marton via cfe-commits
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

r347648 - [ASTImporter] Typedef import brings in the complete type

2018-11-27 Thread Gabor Marton via cfe-commits
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

r348584 - [CTU] Add statistics

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348586 - [CTU] Add asserts to protect invariants

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348587 - [CTU] Eliminate race condition in CTU lit tests

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348594 - [CTU] Add DisplayCTUProgress analyzer switch

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348605 - [CTU] Add more lit tests and better error handling

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348609 - [CTU] test/Analysis/ctu-main.cpp Attempt to fix failing windows bot

2018-12-07 Thread Gabor Marton via cfe-commits
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.

r348610 - [CTU] Add triple/lang mismatch handling

2018-12-07 Thread Gabor Marton via cfe-commits
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

r348614 - [CTU] test/Analysis/ctu-main.cpp Attempt to fix failing windows bot

2018-12-07 Thread Gabor Marton via cfe-commits
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.

r355096 - [CTU] Do not allow different CPP dialects in CTU

2019-02-28 Thread Gabor Marton via cfe-commits
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

r355390 - [ASTImporter] Fix redecl failures of Class and ClassTemplate

2019-03-05 Thread Gabor Marton via cfe-commits
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

r355593 - [ASTImporter] Handle redecl chain of FunctionTemplateDecls

2019-03-07 Thread Gabor Marton via cfe-commits
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

r355596 - [ASTImporter] Import member expr with explicit template args

2019-03-07 Thread Gabor Marton via cfe-commits
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

r356452 - [ASTImporter] Fix redecl failures of ClassTemplateSpec

2019-03-19 Thread Gabor Marton via cfe-commits
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

r356455 - [ASTImporter] Fix redecl failures of FunctionTemplateSpec

2019-03-19 Thread Gabor Marton via cfe-commits
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

r357394 - [ASTImporter] Make ODR error handling configurable

2019-04-01 Thread Gabor Marton via cfe-commits
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

r357402 - [ASTImporter] Convert ODR diagnostics inside ASTImporter implementation

2019-04-01 Thread Gabor Marton via cfe-commits
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

r357405 - Attempt to fix failing buildbot (ppc64le)

2019-04-01 Thread Gabor Marton via cfe-commits
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

r360261 - [ASTImporter] Fix inequivalence of unresolved exception spec

2019-05-08 Thread Gabor Marton via cfe-commits
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

r342384 - [ASTImporter] Fix import of VarDecl init

2018-09-17 Thread Gabor Marton via cfe-commits
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

r353425 - [ASTImporter] Refactor unittests to be able to parameterize them in a more flexible way

2019-02-07 Thread Gabor Marton via cfe-commits
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

r353504 - [AST] Fix structural inequivalence of operators

2019-02-08 Thread Gabor Marton via cfe-commits
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

r353505 - [ASTImporter][ASTImporterSpecificLookup] Add test for different operators

2019-02-08 Thread Gabor Marton via cfe-commits
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

r353684 - [ASTImporter] Add test RedeclChainShouldBeCorrectAmongstNamespaces

2019-02-11 Thread Gabor Marton via cfe-commits
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

r354027 - [ASTImporter] Check visibility/linkage of functions and variables

2019-02-14 Thread Gabor Marton via cfe-commits
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

r354120 - [ASTImporter] Import every Decl in lambda record

2019-02-15 Thread Gabor Marton via cfe-commits
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

r354259 - [ASTImporter] Unify redecl chain tests as type parameterized tests

2019-02-18 Thread Gabor Marton via cfe-commits
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

r354267 - [ASTImporter] Find previous friend function template

2019-02-18 Thread Gabor Marton via cfe-commits
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

r354482 - Fix compile error with Intel's compiler (-Werror=pedantic)

2019-02-20 Thread Gabor Marton via cfe-commits
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

r354503 - Fix remaining semicolon pedantic errors for intel

2019-02-20 Thread Gabor Marton via cfe-commits
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

r363062 - [ASTImporter] Fix unhandled cases in ASTImporterLookupTable

2019-06-11 Thread Gabor Marton via cfe-commits
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,

r366325 - [ASTImporter] Fix LLDB lookup in transparent ctx and with ext src

2019-07-17 Thread Gabor Marton via cfe-commits
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

r366332 - [ASTImporter] Fix structural eq of lambdas

2019-07-17 Thread Gabor Marton via cfe-commits
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

r366439 - [analyzer] Add CTU user docs

2019-07-18 Thread Gabor Marton via cfe-commits
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

r366818 - [ASTImporter] Fix inequivalence of ClassTemplateInstantiations

2019-07-23 Thread Gabor Marton via cfe-commits
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

r366997 - [ASTImporter] Reorder fields after structure import is finished

2019-07-25 Thread Gabor Marton via cfe-commits
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

r368009 - Add User docs for ASTImporter

2019-08-06 Thread Gabor Marton via cfe-commits
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

r368562 - [CrossTU] User docs: remove temporary limiation with macro expansion

2019-08-12 Thread Gabor Marton via cfe-commits
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/

r369099 - Fix typos in LibASTImporter.rst

2019-08-16 Thread Gabor Marton via cfe-commits
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

r364279 - [ASTImporter] Store import errors for Decls

2019-06-25 Thread Gabor Marton via cfe-commits
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

r364630 - [CTU] Add missing statistics

2019-06-28 Thread Gabor Marton via cfe-commits
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

r364752 - [ASTImporter] Propagate error from ImportDeclContext

2019-07-01 Thread Gabor Marton via cfe-commits
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

r364771 - [ASTImporter] Mark erroneous nodes in from ctx

2019-07-01 Thread Gabor Marton via cfe-commits
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

r364785 - [ASTImporter] Mark erroneous nodes in shared st

2019-07-01 Thread Gabor Marton via cfe-commits
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

r364889 - [ASTImporter] Structural eq: handle DependentScopeDeclRefExpr

2019-07-02 Thread Gabor Marton via cfe-commits
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

r365133 - [CTU] Add support for virtual functions

2019-07-04 Thread Gabor Marton via cfe-commits
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

r365315 - [ASTImporter] Fix import of lambda in function param

2019-07-08 Thread Gabor Marton via cfe-commits
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

r365639 - [analyzer]Add user docs rst

2019-07-10 Thread Gabor Marton via cfe-commits
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

r360572 - [ASTImporter] Separate unittest files

2019-05-13 Thread Gabor Marton via cfe-commits
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

r360760 - [ASTImporter] Use llvm::Expected and Error in the importer API

2019-05-15 Thread Gabor Marton via cfe-commits
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

r361139 - [ASTImporter] Enable disabled but passing tests

2019-05-20 Thread Gabor Marton via cfe-commits
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

r348923 - [ASTImporter] Remove import of definition from GetAlreadyImportedOrNull

2018-12-12 Thread Gabor Marton via cfe-commits
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

r349349 - [ASTImporter] Fix redecl chain of classes and class templates

2018-12-17 Thread Gabor Marton via cfe-commits
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

r349351 - [ASTImporter] Add importer specific lookup

2018-12-17 Thread Gabor Marton via cfe-commits
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

r350521 - [CTU] Make loadExternalAST return with non nullptr on success

2019-01-07 Thread Gabor Marton via cfe-commits
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

r371839 - [ASTImporter] Add development internals docs

2019-09-13 Thread Gabor Marton via cfe-commits
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

r372564 - [ASTImporter][NFC] Add comprehensive tests for ODR violation handling strategies

2019-09-23 Thread Gabor Marton via cfe-commits
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

r372633 - [ASTImporter] Attempt to fix Windows buildbot test errors

2019-09-23 Thread Gabor Marton via cfe-commits
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

r372646 - [ASTImporter] 2nd attempt to fix Windows buildbot test errors

2019-09-23 Thread Gabor Marton via cfe-commits
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

r372688 - [ASTImporter] 3rd attempt to fix Windows buildbot test errors

2019-09-23 Thread Gabor Marton via cfe-commits
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

r372705 - [ASTImporter] 4th attempt to fix Windows buildbot test errors

2019-09-24 Thread Gabor Marton via cfe-commits
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

r335455 - [ASTImporter] Add new tests about templated-described swing

2018-06-25 Thread Gabor Marton via cfe-commits
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

r335464 - [ASTImporter] Add ms compatibility to tests which use the TestBase

2018-06-25 Thread Gabor Marton via cfe-commits
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

r335480 - [ASTImporter] Import the whole redecl chain of functions

2018-06-25 Thread Gabor Marton via cfe-commits
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

r335491 - Revert "[ASTImporter] Import the whole redecl chain of functions"

2018-06-25 Thread Gabor Marton via cfe-commits
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

r335600 - [ASTImporter] Use InjectedClassNameType at import of templated record.

2018-06-26 Thread Gabor Marton via cfe-commits
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 (

r335731 - Re-apply: [ASTImporter] Import the whole redecl chain of functions

2018-06-27 Thread Gabor Marton via cfe-commits
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

r335959 - [ASTImporter] Eliminated some unittest warnings.

2018-06-29 Thread Gabor Marton via cfe-commits
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

r335968 - [ASTImporter] Added import of CXXStdInitializerListExpr

2018-06-29 Thread Gabor Marton via cfe-commits
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

r336332 - [ASTImporter] Fix import of objects with anonymous types

2018-07-05 Thread Gabor Marton via cfe-commits
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

r336896 - [ASTImporter] Refactor Decl creation

2018-07-12 Thread Gabor Marton via cfe-commits
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

r336898 - [ASTImporter] Fix infinite recursion on function import with struct definition in parameters

2018-07-12 Thread Gabor Marton via cfe-commits
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

r337267 - [ASTImporter] Fix import of unnamed structs

2018-07-17 Thread Gabor Marton via cfe-commits
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

r337275 - [ASTImporter] Fix poisonous structural equivalence cache

2018-07-17 Thread Gabor Marton via cfe-commits
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

r373894 - [ASTImporter][NFC] Fix typo in user docs

2019-10-07 Thread Gabor Marton via cfe-commits
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/

r373895 - [ASTImporter][NFC] Update ASTImporter internals docs

2019-10-07 Thread Gabor Marton via cfe-commits
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

r373896 - [ASTImporter][NFC] Enable disabled but passing test

2019-10-07 Thread Gabor Marton via cfe-commits
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

[clang] bd03ef1 - [analyzer] ApiModeling: Add buffer size arg constraint

2020-05-29 Thread Gabor Marton via cfe-commits
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   2   3   >