]> granicus.if.org Git - clang/commit
hand macro expand this to make "candidate" set printing more useful. However,
authorChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 02:30:54 +0000 (02:30 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 02:30:54 +0000 (02:30 +0000)
commite5b7d644c23c5da0cfc0790dd0f2f65dafdaa541
treecb5060f1a0945b96933a0e011e5ddeedf415cfde
parentf265a00d3201aa39cb875c59569184c02ccb6a6b
hand macro expand this to make "candidate" set printing more useful.  However,
Now no candidates are printed because the 'notes' are in a system header. :(

#include <tgmath-sofar.h>
 double foo2(short *x) {
  return acos(x);
}

t.c:10:10: error: no matching function for call to '__tg_acos'; candidates are:
  return acos(x);
         ^~~~
1 diagnostic generated.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64722 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/tgmath-sofar.h