llvm-project/clang/lib
Balazs Keri 2e16060a8b [ASTImporter] Fix for import of friend class template with definition.
Summary:
If there is a friend class template "prototype" (forward declaration)
and later a definition for it in the existing code, this existing
definition may be not found by ASTImporter because it is not linked
to the prototype (under the friend AST node). The problem is fixed by
looping over all found matching decls instead of break after the first
found one.

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: a_sidorin

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

Tags: #clang

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

llvm-svn: 368551
2019-08-12 10:07:38 +00:00
..
ARCMigrate Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
AST [ASTImporter] Fix for import of friend class template with definition. 2019-08-12 10:07:38 +00:00
ASTMatchers [clang] Add isDirectlyDerivedFrom AST matcher. 2019-07-25 11:54:13 +00:00
Analysis Revert r367649: Improve raw_ostream so that you can "write" colors using operator<< 2019-08-02 07:22:34 +00:00
Basic [X86] Support -march=tigerlake 2019-08-12 01:29:46 +00:00
CodeGen cfi-icall: Allow the jump table to be optionally made non-canonical. 2019-08-09 22:31:59 +00:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher Remove LLVM mutexes from clang in favor of std::mutex 2019-08-07 14:44:40 +00:00
Driver cfi-icall: Allow the jump table to be optionally made non-canonical. 2019-08-09 22:31:59 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Expand AllowShortBlocksOnASingleLine for WebKit 2019-08-11 17:48:36 +00:00
Frontend cfi-icall: Allow the jump table to be optionally made non-canonical. 2019-08-09 22:31:59 +00:00
FrontendTool [clang-ifs] Clang Interface Stubs, first version (second landing attempt). 2019-06-20 16:59:48 +00:00
Headers [clang] Fixed x86 cpuid NSC signature 2019-08-10 10:14:01 +00:00
Index Add SVE opaque built-in types 2019-08-09 08:52:54 +00:00
Lex Don't diagnose errors when a file matches an include component 2019-08-09 19:49:14 +00:00
Parse [Parser] Emit descriptive diagnostic for misplaced pragma 2019-08-04 10:08:51 +00:00
Rewrite [Rewrite] Extend to further accept CharSourceRange 2019-07-06 02:55:06 +00:00
Sema Properly detect temporary gsl::Owners through reference initialization chains. 2019-08-11 14:39:42 +00:00
Serialization Add SVE opaque built-in types 2019-08-09 08:52:54 +00:00
StaticAnalyzer [analyzer] CastValueChecker: Model castAs(), getAs() 2019-08-09 02:24:42 +00:00
Tooling [Extract] Fixed SemicolonExtractionPolicy for SwitchStmt and SwitchCase 2019-08-08 08:37:49 +00:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00