compiler: workaround for C++ build template matching quirk
authorThan McIntosh <thanm@google.com>
Tue, 5 Oct 2021 20:25:45 +0000 (16:25 -0400)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Oct 2021 22:06:19 +0000 (15:06 -0700)
commitab67380fe60798946371b0493d2f40dedb6bc5a9
tree90f6c254f457b71a46d591dd120e1e11b2b64cf6
parent737f95bab557584d876f02779ab79fe3cfaacacf
compiler: workaround for C++ build template matching quirk

Tweak a couple of places in the types code to use nullptr instead of
NULL to work around a template matching quirk when using certain build
compilers.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/354151
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc