How should I define and initialize a non-global namespace member variable?
In my Memory.hpp file, I have a namespace boolean named “isMHinit”:
How to correctly get source location of static function callExpr using Clang AST Matcher?
I am trying to build a custom clang-tidy for refactoring purposes and I am having trouble getting the correct source location for static member function callExpr. For example:
Is there a CLANG tidy or fixit to use uniform initialization (aka brace initialization)?
We want initializations in our C++ code to use uniform initialization, e.g.: