You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my company, coding style completely forbids the use of the class keyword.
Unfortunately, there is currently no option in clang-format to automatically enforce or transform this rule.
It would be very useful to add an option to clang-format to automatically replace class with struct
expected behavior:
enumclassabc ===> enumstructabctemplate<classT> ===> template<typename T>
template<template<typename> classA>
voidfoo();
===>
template<template<typename> typename A>
voidfoo();
classA ===> structAclassA : a, b, c ===> structA : privatea, privateb, privatec