Consistently format type qualifiers like const on the right (#1347)

This commit is contained in:
Sylvie authored and GitHub committed 2024-03-10 12:21:52 -04:00
1 parent d982d47c56
commit 820f6b5b3c
22 files changed
+103 -66

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ size_t maxRecursionDepth;
// The first include path for `fstk_FindFile` to try is none at all
static std::vector<std::string> includePaths = {""};
static const char *preIncludeName;
static char const *preIncludeName;
std::vector<uint32_t> &FileStackNode::iters() {
assert(std::holds_alternative<std::vector<uint32_t>>(data));
@@ -60,7 +60,7 @@ std::string const &FileStackNode::name() const {
return std::get<std::string>(data);
}
static const char *dumpNodeAndParents(FileStackNode const &node) {
static char const *dumpNodeAndParents(FileStackNode const &node) {
char const *name;
if (node.type == NODE_REPT) {