Subject: Wrong C++ indentation when using class MY_DLL_EXPORT_MACRO foo

From: Stephane A <[email-masked]>
Date: Tue, 28 Jul 2020 13:34:43 +0200

Hello,

There is a C++ indentation problem when using:
class MY_EXPORT_DLL_MACRO foo {
// with a
public:
foo(); // This line is not indented
// section.
};

The problem is not reproduced if, either:

   - the "MY_DLL_EXPORT_MACRO" is removed; or
   - the "public:" section is removed

Please find enclosed a sample C++ file containing the indentation problem
using different C++ styles (stroustrup, linux and gnu) and the following
emacs information.

Best regards,

Stéphane