r371820 - [Clang][ASTImporter] Added visibility check for FunctionTemplateDecl.

2019-09-13 Thread Balazs Keri via cfe-commits
Author: balazske Date: Fri Sep 13 01:03:49 2019 New Revision: 371820 URL: http://llvm.org/viewvc/llvm-project?rev=371820&view=rev Log: [Clang][ASTImporter] Added visibility check for FunctionTemplateDecl. Summary: ASTImporter makes now difference between function templates with same name in diffe

r371021 - Rename of constants in ASTImporterVisibilityTest. NFC.

2019-09-05 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Sep 5 00:59:45 2019 New Revision: 371021 URL: http://llvm.org/viewvc/llvm-project?rev=371021&view=rev Log: Rename of constants in ASTImporterVisibilityTest. NFC. Reviewers: martong, a.sidorin, shafik Reviewed By: shafik Subscribers: shafik, rnkovacs, dkrupp, Szelethu

r370903 - [ASTImporter] Added visibility context check for TypedefNameDecl.

2019-09-04 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Sep 4 07:12:18 2019 New Revision: 370903 URL: http://llvm.org/viewvc/llvm-project?rev=370903&view=rev Log: [ASTImporter] Added visibility context check for TypedefNameDecl. Summary: ASTImporter makes now difference between typedefs and type aliases with same name in di

r370639 - [AST] AST structural equivalence to work internally with pairs.

2019-09-02 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Sep 2 04:01:09 2019 New Revision: 370639 URL: http://llvm.org/viewvc/llvm-project?rev=370639&view=rev Log: [AST] AST structural equivalence to work internally with pairs. Summary: The structural equivalence check stores now pairs of nodes in the 'from' and 'to' context

r370621 - [ASTImporter] At import of records re-order indirect fields too.

2019-09-02 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Sep 2 00:17:01 2019 New Revision: 370621 URL: http://llvm.org/viewvc/llvm-project?rev=370621&view=rev Log: [ASTImporter] At import of records re-order indirect fields too. Summary: Correct order of fields and indirect fields in imported RecordDecl is needed for correct

r370457 - [ASTImporter] Propagate errors during import of overridden methods.

2019-08-30 Thread Balazs Keri via cfe-commits
Author: balazske Date: Fri Aug 30 03:12:14 2019 New Revision: 370457 URL: http://llvm.org/viewvc/llvm-project?rev=370457&view=rev Log: [ASTImporter] Propagate errors during import of overridden methods. Summary: If importing overridden methods fails for a method it can be seen incorrectly as non-

r369098 - [ASTImporter] Import ctor initializers after setting flags.

2019-08-16 Thread Balazs Keri via cfe-commits
Author: balazske Date: Fri Aug 16 05:10:03 2019 New Revision: 369098 URL: http://llvm.org/viewvc/llvm-project?rev=369098&view=rev Log: [ASTImporter] Import ctor initializers after setting flags. Summary: Code to import "ctor initializers" at import of functions is moved to be after the flags in t

r368818 - [ASTImporter] Import default expression of param before creating the param.

2019-08-14 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Aug 14 02:41:39 2019 New Revision: 368818 URL: http://llvm.org/viewvc/llvm-project?rev=368818&view=rev Log: [ASTImporter] Import default expression of param before creating the param. Summary: The default expression of a parameter variable should be imported before the

r368655 - [ASTImporter] Import additional flags for functions.

2019-08-13 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Aug 13 01:04:06 2019 New Revision: 368655 URL: http://llvm.org/viewvc/llvm-project?rev=368655&view=rev Log: [ASTImporter] Import additional flags for functions. Summary: At AST import of function delcarations import the flags for defaulted and deleted. Reviewers: marto

r368551 - [ASTImporter] Fix for import of friend class template with definition.

2019-08-12 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Aug 12 03:07:38 2019 New Revision: 368551 URL: http://llvm.org/viewvc/llvm-project?rev=368551&view=rev Log: [ASTImporter] Fix for import of friend class template with definition. Summary: If there is a friend class template "prototype" (forward declaration) and later a

r368545 - [CrossTU] Fix problem with CrossTU AST load limit and progress messages.

2019-08-12 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Aug 12 00:15:29 2019 New Revision: 368545 URL: http://llvm.org/viewvc/llvm-project?rev=368545&view=rev Log: [CrossTU] Fix problem with CrossTU AST load limit and progress messages. Summary: Number of loaded ASTs is to be incremented only if the AST was really loaded but

r368163 - [ASTImporter] Do not import FunctionTemplateDecl in record twice.

2019-08-07 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Aug 7 05:40:17 2019 New Revision: 368163 URL: http://llvm.org/viewvc/llvm-project?rev=368163&view=rev Log: [ASTImporter] Do not import FunctionTemplateDecl in record twice. Summary: For functions there is a check to not duplicate the declaration if it is in a record (c

r368020 - [CrossTU] Handle case when no USR could be generated during Decl search.

2019-08-06 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Aug 6 05:10:16 2019 New Revision: 368020 URL: http://llvm.org/viewvc/llvm-project?rev=368020&view=rev Log: [CrossTU] Handle case when no USR could be generated during Decl search. Summary: When searching for a declaration to be loaded the "lookup name" for every other

r367013 - Fix failing test plist-macros-with-expansion-ctu.c

2019-07-25 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Jul 25 05:46:42 2019 New Revision: 367013 URL: http://llvm.org/viewvc/llvm-project?rev=367013&view=rev Log: Fix failing test plist-macros-with-expansion-ctu.c Modified: cfe/trunk/test/Analysis/plist-macros-with-expansion-ctu.c Modified: cfe/trunk/test/Analysis/plis

r367006 - [CrossTU] Fix plist macro expansion if macro in other file.

2019-07-25 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Jul 25 03:53:22 2019 New Revision: 367006 URL: http://llvm.org/viewvc/llvm-project?rev=367006&view=rev Log: [CrossTU] Fix plist macro expansion if macro in other file. Summary: When cross TU analysis is used it is possible that a macro expansion is generated for a macro

r366884 - [CrossTU] Add a function to retrieve original source location.

2019-07-24 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Jul 24 03:16:37 2019 New Revision: 366884 URL: http://llvm.org/viewvc/llvm-project?rev=366884&view=rev Log: [CrossTU] Add a function to retrieve original source location. Summary: A new function will be added to get the original SourceLocation for a SourceLocation that

r366792 - PlistDiagnostics Fix for compile warning (NFC).

2019-07-23 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Jul 23 03:21:42 2019 New Revision: 366792 URL: http://llvm.org/viewvc/llvm-project?rev=366792&view=rev Log: PlistDiagnostics Fix for compile warning (NFC). Modified: cfe/trunk/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp Modified: cfe/trunk/lib/StaticAnalyzer/Core/

r366782 - [CrossTU] Added CTU argument to diagnostic consumer create fn.

2019-07-23 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Jul 23 00:04:20 2019 New Revision: 366782 URL: http://llvm.org/viewvc/llvm-project?rev=366782&view=rev Log: [CrossTU] Added CTU argument to diagnostic consumer create fn. Summary: The PListDiagnosticConsumer needs a new CTU parameter that is passed through the create fu

r366449 - [CrossTU] Add a function to retrieve original source location.

2019-07-18 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Jul 18 08:23:10 2019 New Revision: 366449 URL: http://llvm.org/viewvc/llvm-project?rev=366449&view=rev Log: [CrossTU] Add a function to retrieve original source location. Summary: A new function will be added to get the original SourceLocation for a SourceLocation that

r366061 - [ASTImporter] Using Lang_CXX14 in ASTImporterVisibilityTest.

2019-07-15 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Jul 15 05:16:30 2019 New Revision: 366061 URL: http://llvm.org/viewvc/llvm-project?rev=366061&view=rev Log: [ASTImporter] Using Lang_CXX14 in ASTImporterVisibilityTest. Summary: These tests may work with C++14 language constructs in the future (variable templates and ot

r365464 - [ASTImporter] Added visibility context check for EnumDecl.

2019-07-09 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Jul 9 04:08:18 2019 New Revision: 365464 URL: http://llvm.org/viewvc/llvm-project?rev=365464&view=rev Log: [ASTImporter] Added visibility context check for EnumDecl. Summary: ASTImporter makes now difference between enums with same name in different translation units

r361752 - [ASTImporter] Added visibility context check for CXXRecordDecl.

2019-05-27 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon May 27 02:36:00 2019 New Revision: 361752 URL: http://llvm.org/viewvc/llvm-project?rev=361752&view=rev Log: [ASTImporter] Added visibility context check for CXXRecordDecl. Summary: ASTImporter makes now difference between classes with same name in different translation

r360156 - [ASTImporter] Corrected type of integer constant in a test.

2019-05-07 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue May 7 07:53:04 2019 New Revision: 360156 URL: http://llvm.org/viewvc/llvm-project?rev=360156&view=rev Log: [ASTImporter] Corrected type of integer constant in a test. Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp Modified: cfe/trunk/unittests/AST/ASTImport

r360132 - [ASTImporter] Import TemplateParameterLists in function templates.

2019-05-07 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue May 7 03:55:11 2019 New Revision: 360132 URL: http://llvm.org/viewvc/llvm-project?rev=360132&view=rev Log: [ASTImporter] Import TemplateParameterLists in function templates. Summary: Correct missing import of TemplateParameterList in function decl. Reviewers: martong,

r357913 - Changed every use of ASTImporter::Import to Import_New

2019-04-08 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Apr 8 06:59:15 2019 New Revision: 357913 URL: http://llvm.org/viewvc/llvm-project?rev=357913&view=rev Log: Changed every use of ASTImporter::Import to Import_New Reviewers: a.sidorin, shafik, martong, a_sidorin Reviewed By: a_sidorin Subscribers: rnkovacs, dkrupp, ma

r356874 - [ASTImporter] Changed use of Import to Import_New in ASTNodeImporter.

2019-03-25 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Mar 25 02:16:39 2019 New Revision: 356874 URL: http://llvm.org/viewvc/llvm-project?rev=356874&view=rev Log: [ASTImporter] Changed use of Import to Import_New in ASTNodeImporter. Reviewers: a.sidorin, shafik, martong, a_sidorin Reviewed By: a_sidorin Subscribers: a_sid

r356564 - [ASTImporter] Remove obsolete function ImportTemplateParameterList.

2019-03-20 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Mar 20 08:42:42 2019 New Revision: 356564 URL: http://llvm.org/viewvc/llvm-project?rev=356564&view=rev Log: [ASTImporter] Remove obsolete function ImportTemplateParameterList. Summary: The ASTNodeImporter::ImportTemplateParameterList is replaced by a template specializa

r356151 - [ASTImporter] Fix import of NestedNameSpecifierLoc.

2019-03-14 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Mar 14 07:20:23 2019 New Revision: 356151 URL: http://llvm.org/viewvc/llvm-project?rev=356151&view=rev Log: [ASTImporter] Fix import of NestedNameSpecifierLoc. Summary: Import type location in case of TypeSpec and TypeSpecWithTemplate. Without this fix the imported Nesp

r355598 - [ASTImporter] Changed use of Import to Import_New in ASTImporter.

2019-03-07 Thread Balazs Keri via cfe-commits
Author: balazske Date: Thu Mar 7 06:09:18 2019 New Revision: 355598 URL: http://llvm.org/viewvc/llvm-project?rev=355598&view=rev Log: [ASTImporter] Changed use of Import to Import_New in ASTImporter. Reviewers: a.sidorin, shafik, a_sidorin, martong Reviewed By: a_sidorin Subscribers: rnkovacs,

r355000 - [ASTImporter] Improve import of FileID.

2019-02-27 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Feb 27 08:31:48 2019 New Revision: 355000 URL: http://llvm.org/viewvc/llvm-project?rev=355000&view=rev Log: [ASTImporter] Improve import of FileID. Summary: Even if the content cache has a directory and filename, it may be a virtual file. The old code returned with err

r347752 - [ASTImporter] Changed use of Import to Import_New in ASTImporter.

2018-11-28 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Nov 28 05:21:26 2018 New Revision: 347752 URL: http://llvm.org/viewvc/llvm-project?rev=347752&view=rev Log: [ASTImporter] Changed use of Import to Import_New in ASTImporter. Reviewers: a.sidorin, shafik, a_sidorin Reviewed By: a_sidorin Subscribers: gamesh411, a_sidor

r347685 - [ASTImporter] Added Import functions for transition to new API.

2018-11-27 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Nov 27 10:36:31 2018 New Revision: 347685 URL: http://llvm.org/viewvc/llvm-project?rev=347685&view=rev Log: [ASTImporter] Added Import functions for transition to new API. Summary: These Import_New functions should be used in the ASTImporter, and the old Import function

r344784 - [ASTImporter] Removed uneeded default case label.

2018-10-19 Thread Balazs Keri via cfe-commits
Author: balazske Date: Fri Oct 19 08:16:51 2018 New Revision: 344784 URL: http://llvm.org/viewvc/llvm-project?rev=344784&view=rev Log: [ASTImporter] Removed uneeded default case label. Modified: cfe/trunk/lib/AST/ASTImporter.cpp Modified: cfe/trunk/lib/AST/ASTImporter.cpp URL: http://llvm.o

r340277 - [ASTImporter] Adding some friend function related unittests.

2018-08-21 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Aug 21 07:32:21 2018 New Revision: 340277 URL: http://llvm.org/viewvc/llvm-project?rev=340277&view=rev Log: [ASTImporter] Adding some friend function related unittests. Reviewers: a.sidorin, a_sidorin Reviewed By: a_sidorin Subscribers: a_sidorin, martong, cfe-commits

r339560 - [ASTImporter] Improved import of friend templates.

2018-08-13 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Aug 13 06:08:37 2018 New Revision: 339560 URL: http://llvm.org/viewvc/llvm-project?rev=339560&view=rev Log: [ASTImporter] Improved import of friend templates. Summary: When importing a friend class template declaration, this declaration should not be merged with any oth

r339256 - [AST] Check described template at structural equivalence check.

2018-08-08 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Aug 8 08:04:27 2018 New Revision: 339256 URL: http://llvm.org/viewvc/llvm-project?rev=339256&view=rev Log: [AST] Check described template at structural equivalence check. Summary: When checking a class or function the described class or function template is checked too

r339226 - [ASTImporter] Load external Decls when getting field index.

2018-08-08 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Aug 8 02:40:57 2018 New Revision: 339226 URL: http://llvm.org/viewvc/llvm-project?rev=339226&view=rev Log: [ASTImporter] Load external Decls when getting field index. Summary: At equality check of fields without name the index of fields is compared. At determining the

r337898 - [ASTImporter] Add support for import of CXXInheritedCtorInitExpr.

2018-07-25 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Jul 25 03:21:06 2018 New Revision: 337898 URL: http://llvm.org/viewvc/llvm-project?rev=337898&view=rev Log: [ASTImporter] Add support for import of CXXInheritedCtorInitExpr. Reviewers: a.sidorin, martong Reviewed By: martong Subscribers: rnkovacs, a_sidorin, martong,

r337260 - [ASTImporter] Import described template (if any) of function.

2018-07-17 Thread Balazs Keri via cfe-commits
Author: balazske Date: Tue Jul 17 02:52:41 2018 New Revision: 337260 URL: http://llvm.org/viewvc/llvm-project?rev=337260&view=rev Log: [ASTImporter] Import described template (if any) of function. Summary: When a function is imported, check if it has a described template. The name lookup is corre

r337172 - [ASTImporter] Changed constant int to unsigned int in test code.

2018-07-16 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Jul 16 07:05:18 2018 New Revision: 337172 URL: http://llvm.org/viewvc/llvm-project?rev=337172&view=rev Log: [ASTImporter] Changed constant int to unsigned int in test code. Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp Modified: cfe/trunk/unittests/AST/ASTI

r337162 - [ASTImporter] Import implicit methods of existing class.

2018-07-16 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Jul 16 05:16:39 2018 New Revision: 337162 URL: http://llvm.org/viewvc/llvm-project?rev=337162&view=rev Log: [ASTImporter] Import implicit methods of existing class. Summary: When an already existing class is encountered during import, check if it has implicit methods th

r336817 - [AST] Fix for structural equivalence tests in rL336776.

2018-07-11 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Jul 11 08:26:26 2018 New Revision: 336817 URL: http://llvm.org/viewvc/llvm-project?rev=336817&view=rev Log: [AST] Fix for structural equivalence tests in rL336776. Modified: cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp Modified: cfe/trunk/unittests/AST/Str

r336776 - [AST] Structural equivalence of methods

2018-07-11 Thread Balazs Keri via cfe-commits
Author: balazske Date: Wed Jul 11 02:37:24 2018 New Revision: 336776 URL: http://llvm.org/viewvc/llvm-project?rev=336776&view=rev Log: [AST] Structural equivalence of methods Summary: Added structural equivalence check for C++ methods. Improved structural equivalence tests. Added related ASTImpor

r336108 - Test commit access

2018-07-02 Thread Balazs Keri via cfe-commits
Author: balazske Date: Mon Jul 2 07:14:07 2018 New Revision: 336108 URL: http://llvm.org/viewvc/llvm-project?rev=336108&view=rev Log: Test commit access Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp URL: http://llvm.org/viewvc/l