freebsd-dev/contrib
Dimitry Andric 5e23bfeb2d Pull in r258110 from upstream clang trunk, by Faisal Vali:
Fix PR26134: When substituting into default template arguments, keep
  CurContext unchanged.

  Or, do not set Sema's CurContext to the template declaration's when
  substituting into default template arguments of said template
  declaration.
  If we do push the template declaration context on to Sema, and the
  template declaration is at namespace scope, Sema can get confused and
  try and do odr analysis when substituting into default template
  arguments, even though the substitution could be occurring within a
  dependent context.
  I'm not sure why this was being done, perhaps there was concern that
  if a default template argument referred to a previous template
  parameter, it might not be found during substitution - but all
  regression tests pass, and I can't craft a test that would cause it
  to fails (if some one does, please inform me, and i'll craft a
  different fix for the PR).

  This patch removes a single line of code, but unfortunately adds more
  than it removes, because of the tests.  Some day I still hope to
  commit a patch that removes far more lines than it adds, while
  leaving clang better for it ;)

  Sorry that r253590 ("Change the expression evaluation context from
  Unevaluated to ConstantEvaluated while substituting into non-type
  template argument defaults") caused the PR!

This fix will be merged to the upstream release_38 branch soon, but we
need it now, to fix a failure in the databases/sfcgal port.
2016-01-19 18:57:37 +00:00
..
amd MFV r277870 2015-01-29 15:35:55 +00:00
apr Update apr-1.5.1 to 1.5.2 2015-08-09 05:14:25 +00:00
apr-util Merge apr-util 1.5.3 -> 1.5.4. A minor bug fix update. 2014-09-24 18:38:51 +00:00
atf Import proposed fix from upstream for 2015-05-21 05:06:08 +00:00
binutils Add the MOVT/MOVW types to the list of relocs which do not generate .plt 2015-12-30 23:04:08 +00:00
bmake Merge bmake-20151220 2015-12-25 16:19:21 +00:00
bsnmp Staticize several variables that are used exclusively in bsnmpd/main.c and 2015-12-28 01:51:20 +00:00
byacc Regen test cases for yacc(1) after r274460. YYINT is int now. 2014-11-13 17:54:17 +00:00
bzip2 Remove unknown macro 2014-12-26 07:36:42 +00:00
com_err
compiler-rt Merge ^/head r288197 through r288456. 2015-10-01 19:02:45 +00:00
dialog
diff Fix the wrong format, format specifies type 'int' but the argument has type 2015-06-01 06:14:17 +00:00
dma Fix build with gcc 4.2 2015-10-11 17:45:20 +00:00
dtc Silence clang warning about extraneous parenthesis 2015-06-05 17:18:10 +00:00
ee Fix minor syntax and grammar errors in the markup of the ee(1) man page 2015-01-18 17:25:41 +00:00
elftoolchain Fixed uninitialized variable warnings. 2015-12-13 08:27:14 +00:00
expat Fix multiple integer overflows in expat. 2015-08-18 19:30:04 +00:00
file MFV r288140: update file to 5.25. 2015-09-23 05:39:20 +00:00
flex
gcc Silence a boring warning. 2015-12-22 21:26:50 +00:00
gcclibs In gcc's libcpp, stop using the INTTYPE_MAXIMUM() macro, which relies on 2015-08-12 20:16:13 +00:00
gdb Workaround KGDB issues on ARM by ignoring ARM EABI version higher than 5 2015-10-30 12:21:37 +00:00
gdtoa
gperf Convert texinfo to mdoc(7) using texi2mdoc 2015-03-02 11:48:00 +00:00
groff Remove more disconnected libgpib items missed in r276214. 2015-10-22 03:51:25 +00:00
hyperv/tools hyperv/kvp_daemon: Make poll(2) block indefinitely 2016-01-11 03:30:16 +00:00
ipfilter ipf(1): Use strchr(3) instead of deprecated index(3) 2015-05-22 18:31:26 +00:00
jemalloc Update jemalloc to version 4.0.4. 2015-10-24 23:18:05 +00:00
ldns Add a script that runs configure for both ldns and drill. 2015-04-27 12:02:16 +00:00
ldns-host
less MFV r293125: less v481. 2016-01-05 05:25:16 +00:00
libarchive MFV r285970: 2015-07-28 18:41:28 +00:00
libbegemot
libc-pwcache
libc-vis Merge from NetBSD: 2014-09-08 19:26:21 +00:00
libc++ Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): 2015-10-09 21:04:28 +00:00
libcxxrt Add std::uncaught_exceptions() to libcxxrt (C++17, see N4152 and N4259). 2015-10-05 17:47:23 +00:00
libexecinfo backtrace.3: Fix prototype of backtrace_symbols_fd_fmt(). 2015-12-22 22:40:42 +00:00
libgnuregex
libpcap MFV r276759: libpcap 1.6.2. 2015-01-06 22:29:12 +00:00
libreadline
libstdc++ Fix EABI unwind function declarations to match the function definitions. 2014-07-22 20:32:24 +00:00
libucl Update libucl to latest git snapshot (20151027) 2015-10-27 21:24:09 +00:00
libxo The field modifier for trimming whitespace 2015-11-06 14:29:25 +00:00
llvm Pull in r258110 from upstream clang trunk, by Faisal Vali: 2016-01-19 18:57:37 +00:00
mdocml Update mandoc to 20160116 2016-01-15 23:28:12 +00:00
mknod
mtree Import in latest mtree from NetBSD to fix a bug in parsing group files 2014-10-28 17:52:26 +00:00
ncurses Make ncurses build with GCC 5.0 and up 2015-08-27 14:00:20 +00:00
netbsd-tests Use stable output to a test file instead of depending on the OS name being 2015-12-22 01:21:27 +00:00
netcat MFV r288243: nc from OpenBSD 5.8. 2015-09-27 07:04:16 +00:00
ngatm
ntp MFV r293415: 2016-01-08 15:53:48 +00:00
nvi Update nvi to 2.1.3 which fixes the data corruption when locale conversion 2015-04-10 17:50:28 +00:00
ofed Convert contrib/ofed libraries to LIBADD. 2015-12-10 00:07:11 +00:00
one-true-awk awk: Use random(3) instead of rand(3) 2014-09-19 18:24:02 +00:00
openbsm Regenerate config.h for OpenBSM 1.2 alpha 4. 2015-12-18 09:49:11 +00:00
openpam Restore the upstream (and documented) behavior of searching for modules 2015-09-21 17:26:35 +00:00
openresolv MFV r225523, r282431: 2015-05-04 21:07:20 +00:00
opie Last '/' for program name, not first one 2014-08-11 14:46:09 +00:00
pam_modules/pam_passwdqc
pf Fix a clang 3.8.0 warning in pflogd.c: 2015-12-31 22:45:00 +00:00
pjdfstest Fix race when testing for ETXTBSY writing to ${n0} (process image) by making 2015-04-16 03:35:47 +00:00
pnpinfo
sendmail Remove unneeded libutil dependency for sendmail. 2015-11-24 04:19:55 +00:00
serf Update serf from 1.3.7 to 1.3.8. Mostly disables sslv2 and sslv3. 2015-08-09 05:16:14 +00:00
smbfs Avoid unaligned memory accesses when encoding netbios names in libsmb. 2015-12-21 17:17:00 +00:00
sqlite3 Update the private sqlite3 from 3.8.9 to 3.8.11.1 (used by svnlite and 2015-08-09 05:44:57 +00:00
subversion Update from svn-1.8.14 to 1.9.2. 2015-10-12 09:53:55 +00:00
tcp_wrappers tcpd.h: add prototype for hosts_ctl 2014-10-11 18:54:37 +00:00
tcpdump MFV r285292: 2015-07-08 23:57:58 +00:00
tcsh
telnet Add baud rate support to telnet(1) 2014-11-11 04:06:05 +00:00
tnftp [SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2). 2014-11-04 23:29:29 +00:00
top Fixup include protections for building on mips64 with clang 2015-12-11 15:12:01 +00:00
traceroute The code starts with base + 1 as the first port. Fix to documentation 2015-05-31 12:18:30 +00:00
tzcode Merge: 2015-10-08 11:42:15 +00:00
tzdata MFV of 290695,tzdata2015g 2015-11-12 03:25:04 +00:00
unbound Upgrade to Unbound 1.5.7. 2015-12-14 13:01:51 +00:00
unvis
vis Import NetBSD vis(1) mandoc fixes 2015-01-03 23:16:13 +00:00
wpa [wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation. 2015-11-26 17:28:40 +00:00
xz MFV r291123: 2015-11-21 09:09:25 +00:00