summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/class-template-partial-spec
Commit message (Collapse)AuthorAgeFilesLines
* [ASTImporter] Store import errors for DeclsGabor Marton2019-06-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: We add a new member which is a mapping from the already-imported declarations in the "from" context to the error status of the import of that declaration. This map contains only the declarations that were not correctly imported. The same declaration may or may not be included in ImportedDecls. This map is updated continuously during imports and never cleared (like ImportedDecls). In Import(Decl*) we use this mapping, so if there was a previous failed import we return with the existing error. We add/remove from the Lookuptable in consistency with ImportedFromDecls. When we map a decl in the 'to' context to something in the 'from' context then and only then we add it to the lookup table. When we remove a mapping then and only then we remove it from the lookup table. This patch is the first in a series of patches whose aim is to further strengthen the error handling in ASTImporter. Reviewers: a_sidorin, a.sidorin, shafik Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62373 llvm-svn: 364279
* Update ASTMerge FileCheck test expectationsReid Kleckner2019-05-141-5/+5
| | | | | | | | | I belive many of these diagnostics changed from errors to warnings in r357394. I've simply mechanically updated the tests, but whoever owns this code should probably audit for unintented behavior changes. I wasn't able to find a flag to make these warnings errors again. llvm-svn: 360701
* Restore test files accidentally deleted in r354839Reid Kleckner2019-05-143-0/+224
| | | | | | | | | | | | I think there must be a bug in git-llvm causing parent directories to be deleted when the diff deletes files in a subdirectory. Perhaps it is Windows-only. There has been a behavior change, so some of these tests now fail. I have marked them XFAIL and will fix them in a follow-up to separate the changes. llvm-svn: 360699
* Revert r354832 "[ASTImporter] Add support for importing ChooseExpr AST nodes."Reid Kleckner2019-02-263-222/+0
| | | | | | Test does not pass on Windows llvm-svn: 354839
* ASTImporter: fix tests on Windows with removing slashed parts of pathsAleksei Sidorin2017-01-231-9/+9
| | | | | | Differential Revision: https://reviews.llvm.org/D26753 llvm-svn: 292781
* ASTImporter: quick test fixAleksei Sidorin2017-01-231-9/+9
| | | | | | Differential Revision: https://reviews.llvm.org/D26753 llvm-svn: 292779
* ASTImporter: add forgotten tests for rL292776Aleksei Sidorin2017-01-233-0/+222
llvm-svn: 292778
OpenPOWER on IntegriCloud