Say I want to mock MyClass::myMethod using Google Mock: ``` class MyClass { public: virtual ReturnType myMethod(int) const = 0; }; ``` I'd use: ``` MOCK_METHOD(ReturnType, myMethod, (int), (const override)) ``` but clang-format with QualifierAlignment=Right turns that into: ``` MOCK_METHOD(ReturnType, myMethod, (int), (override const)) ``` an error. See documentation for Google Mock here: https://google.github.io/googletest/reference/mocking.html
Say I want to mock MyClass::myMethod using Google Mock:
I'd use:
but clang-format with QualifierAlignment=Right turns that into:
an error.
See documentation for Google Mock here:
https://google.github.io/googletest/reference/mocking.html