llvm-project/clang/lib
Serge Pavlov acfcd78aec Diagnose friend function template redefinitions.
Friend function template defined in a class template becomes available if
the enclosing class template is instantiated. Until the function template
is used, it does not have a body, but still is considered a definition for
the purpose of redeclaration checks.

This change modifies redefinition check so that it can find the friend
function template definitions in instantiated classes.

Differential Revision: http://reviews.llvm.org/D21508

llvm-svn: 348473
2018-12-06 09:35:04 +00:00
..
ARCMigrate PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
AST [Sema/Attribute] Check for noderef attribute 2018-12-06 01:05:54 +00:00
ASTMatchers Revert rL347462 "[ASTMatchers] Add hasSideEffect() matcher." 2018-11-22 14:26:33 +00:00
Analysis Revert "Revert r347417 "Re-Reinstate 347294 with a fix for the failures."" 2018-11-30 23:41:18 +00:00
Basic ARM, AArch64: support `__attribute__((__swiftcall__))` 2018-12-06 03:28:37 +00:00
CodeGen Remove unnecessary include. 2018-12-06 06:32:40 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [darwin] remove version number check when enabling -fobjc-subscripting-legacy-runtime 2018-12-06 02:44:23 +00:00
Edit [Fixed Point Arithmetic] Fixed Point to Boolean Cast 2018-10-23 17:55:35 +00:00
Format [clang-format] Do not treat asm clobber [ as ObjCExpr, refined 2018-11-22 14:49:55 +00:00
Frontend Move detection of libc++ include dirs to Driver on MacOS 2018-12-05 14:24:14 +00:00
FrontendTool PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
Headers [CMake] Store path to vendor-specific headers in clang-headers target property 2018-12-03 10:34:25 +00:00
Index [Index] Expose USR generation for types 2018-11-26 15:24:48 +00:00
Lex PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
Parse [CodeComplete] Cleanup access checking in code completion 2018-12-03 13:29:17 +00:00
Rewrite Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
Sema Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
Serialization PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
StaticAnalyzer [analyzer] Attribute for RetainCountChecker for OSObject should propagate with inheritance 2018-12-05 18:34:54 +00:00
Tooling clang::tooling::Diagnostic: Don't store offset in the scratch space. 2018-11-21 01:08:46 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00