Similar to the handling of darwin target triples, strip the version
authorDimitry Andric <dimitry@andric.com>
Sat, 22 Sep 2018 14:37:49 +0000 (14:37 +0000)
committerDimitry Andric <dimitry@andric.com>
Sat, 22 Sep 2018 14:37:49 +0000 (14:37 +0000)
commitf3b94728c708df60741bf6c6f054f10c4474fd7f
tree9c7f5cc8af5b0e4f4ee94ef211a5cdfa04a55366
parentbfc5ef6c5b707e8112846fc5ccecbfe4d0efdbad
Similar to the handling of darwin target triples, strip the version
numbers off of freebsd target triples, when generating the name of the
ABI list file for check-cxx-abilist target.

Also remove unnecessary parentheses in the regex for darwin, and
slightly reword the comment.

llvm-svn: 342805
libcxx/lib/abi/CMakeLists.txt