llvm-project/clang/lib
Alp Toker dd551fc3ae Retain previous language linkage of friend function declarations
With this extension, friend function declarations will retain the language
linkage specified for previous declarations instead of emitting an error
diagnostic.

The feature is known to be compatible with GCC and MSVC and permits a
language to be specified indirectly where it cannot otherwise be written
directly in class scope.

Work is ongoing to improve linkage spec diagnostics.

Fixes PR17337.

Reviewed by Richard Smith.

llvm-svn: 193206
2013-10-22 22:53:01 +00:00
..
ARCMigrate ObjectiveC migrator. Minor clean up of my last patch. 2013-10-17 23:13:13 +00:00
AST Treat aliases as definitions. 2013-10-22 21:39:03 +00:00
ASTMatchers Revert "Refactor DynTypedMatcher into a value type class, just like Matcher<T>." 2013-10-21 22:26:36 +00:00
Analysis Simplify some implementations of get*Decl. 2013-10-19 16:55:03 +00:00
Basic Set the default hardware division features for ARM cpus. Also set it as default for A32 armv8. 2013-10-21 10:59:33 +00:00
CodeGen Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted 2013-10-22 22:51:04 +00:00
Driver Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted 2013-10-22 22:51:04 +00:00
Edit ObjectiveC migrator: When doing migration, migrator must suggest 2013-10-01 21:16:29 +00:00
Format clang-format: Fix ObjC literal indentation in Google style. 2013-10-22 15:45:58 +00:00
Frontend Fix crash if a submodule @imports another submodule from the same module. The 2013-10-18 22:48:20 +00:00
FrontendTool Remove -ast-dump-xml. 2013-10-07 20:56:34 +00:00
Headers _mm_extract_epi16: use "& 7" when index is out of bound. 2013-10-22 19:24:42 +00:00
Index Avoid using the 'index' namespace as scope. 2013-08-21 00:49:25 +00:00
Lex Allow a header to be part of multiple modules. 2013-10-22 08:09:47 +00:00
Parse Revert r193073 and the attempt to fix it in r193170. 2013-10-22 18:07:04 +00:00
Rewrite Fix typo: inccrementally 2013-10-13 12:02:16 +00:00
Sema Retain previous language linkage of friend function declarations 2013-10-22 22:53:01 +00:00
Serialization Simplify some implementations of get*Decl. 2013-10-19 16:55:03 +00:00
StaticAnalyzer Forgot some references to misspelled enums. 2013-10-20 11:53:20 +00:00
Tooling Reverted r192992 broke windows and freebsd builds. 2013-10-18 19:48:31 +00:00
CMakeLists.txt Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00