Go to file
Richard Smith 2fbcbb7b38 Fix regression introduced by r279164: only pass definitions as the PatternDef
to DiagnoseUninstantiableTemplate, teach hasVisibleDefinition to correctly
determine whether a function definition is visible, and mark both the function
and the template as visible when merging function template definitions to
provide hasVisibleDefinition with the relevant information.

The change to always pass the right declaration as the PatternDef to
DiagnoseUninstantiableTemplate also caused those checks to happen before other
diagnostics in InstantiateFunctionDefinition, giving worse diagnostics for the
same situations, so I sunk the relevant diagnostics into
DiagnoseUninstantiableTemplate. Those parts of this patch are based on changes
in reviews.llvm.org/D23492 by Vassil Vassilev.

llvm-svn: 279486
2016-08-22 22:25:03 +00:00
clang Fix regression introduced by r279164: only pass definitions as the PatternDef 2016-08-22 22:25:03 +00:00
clang-tools-extra [clang-tidy docs] Further cleanup of options 2016-08-22 17:19:23 +00:00
compiler-rt [compiler-rt] Use flags found when configuring builtins during compilation 2016-08-22 20:33:47 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc amdgpu: Fix default case value for get_local_size 2016-08-20 04:17:17 +00:00
libcxx Add missing include that caused a test failure on Windows. Thanks to STL for the patch. No functional change. 2016-08-22 18:45:31 +00:00
libcxxabi Default LIBCXXABI_LIBDIR_SUFFIX to LLVM_LIBDIR_SUFFIX 2016-08-16 03:44:55 +00:00
libunwind EHABI: cover switch once more 2016-08-18 23:59:12 +00:00
lld Add support for '|' in expressions. 2016-08-22 21:33:35 +00:00
lldb Add a non-code-running data formatter for __NSCFBoolean 2016-08-22 18:07:52 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm ADT: Separate some list manipulation API into ilist_base, NFC 2016-08-22 22:21:07 +00:00
openmp cleanup: fixed names of dummy arguments of Fortran interfaces declarations, no functional changes done 2016-08-17 18:18:21 +00:00
parallel-libs [StreamExecutor] Rename StreamExecutor to Executor 2016-08-16 18:18:32 +00:00
polly Add a flag to dump SCoP optimized with the IslScheduleOptimizer pass 2016-08-21 11:20:39 +00:00