llvm-project/clang/unittests/AST
Gabor Marton dd2b76e13e [ASTImporter] Fix unhandled cases in ASTImporterLookupTable
Summary:
In most cases the FriendDecl contains the declaration of the befriended
class as a child node, so it is discovered during the recursive
visitation. However, there are cases when the befriended class is not a
child, thus it must be fetched explicitly from the FriendDecl, and only
then can we add it to the lookup table.
(Note, this does affect only CTU and does not affect LLDB, because we
cannot and do not use the ASTImporterLookupTable in LLDB.)

Reviewers: a_sidorin, a.sidorin, shafik

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

Tags: #clang

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

llvm-svn: 363062
2019-06-11 13:35:25 +00:00
..
ASTContextParentMapTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTImporterFixtures.cpp [ASTImporter] Use llvm::Expected and Error in the importer API 2019-05-15 10:29:48 +00:00
ASTImporterFixtures.h [ASTImporter] Separate unittest files 2019-05-13 10:06:25 +00:00
ASTImporterGenericRedeclTest.cpp [ASTImporter] Separate unittest files 2019-05-13 10:06:25 +00:00
ASTImporterTest.cpp [ASTImporter] Fix unhandled cases in ASTImporterLookupTable 2019-06-11 13:35:25 +00:00
ASTImporterVisibilityTest.cpp [ASTImporter] Added visibility context check for CXXRecordDecl. 2019-05-27 09:36:00 +00:00
ASTPrint.h [clang][OpeMP] Model OpenMP structured-block in AST (PR40563) 2019-03-20 16:32:36 +00:00
ASTTraverserTest.cpp Add a Visit overload for DynTypedNode to ASTNodeTraverser 2019-05-19 13:03:48 +00:00
ASTTypeTraitsTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ASTVectorTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Add a Visit overload for DynTypedNode to ASTNodeTraverser 2019-05-19 13:03:48 +00:00
CommentLexer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommentParser.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommentTextTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DataCollectionTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclMatcher.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclPrinterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
EvaluateAsRValueTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExternalASTSourceTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Language.cpp [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
Language.h [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
MatchVerifier.h [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
NamedDeclPrinterTest.cpp Fix error in NamedDeclPrinterTest 2019-04-05 19:17:24 +00:00
OMPStructuredBlockTest.cpp [AST] OMPStructuredBlockTest: avoid using multiline string literals in macros 2019-03-22 13:40:36 +00:00
SourceLocationTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StmtPrinterTest.cpp [clang] Respect TerseOutput when printing lambdas 2019-05-27 16:20:45 +00:00
StructuralEquivalenceTest.cpp [ASTImporter] Enable disabled but passing tests 2019-05-20 10:38:14 +00:00