RE: [Arm] Allow the use of arm_cde.h for C++

2020-04-09 Thread Kyrylo Tkachov
> -Original Message- > From: Matthew Malcomson > Sent: 09 April 2020 15:31 > To: gcc-patches@gcc.gnu.org > Cc: nd ; Ramana Radhakrishnan > ; Kyrylo Tkachov > ; Richard Earnshaw > ; ni...@redhat.com > Subject: [Arm] Allow the use of arm_cde.h for C++

[Arm] Allow the use of arm_cde.h for C++

2020-04-09 Thread Matthew Malcomson
arm_cde.h includes the arm_mve_types.h header, which declares some C++ overloaded functions. There is a superfluous `extern "C"` statement in arm_cde.h, which encompasses these functions. This means that if compiling for C++, the overloaded functions are declared, but are declared without name ma