restore ignoring of implicit function declaration warnings on pet built-ins
commitd378c2b674f148466719ddde6d3c7e7f9ca7455b
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 21 Sep 2018 13:54:11 +0000 (21 15:54 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 21 Sep 2018 13:54:11 +0000 (21 15:54 +0200)
tree94162c1e84a59693db5c7fe823e6c6979277d4e1
parent3a367cd2f93b530dd28c86086be5358d215668d1
restore ignoring of implicit function declaration warnings on pet built-ins

Older versions of clang generate a diag::ext_implicit_function_decl
with a single argument, but since revision 314872, the warning
has a second argument (indicating whether the language is OpenCL).
Also ignore the warning in the presence of such an extra argument.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
pet.cc