update from dtk-template - clangd :) (#66)

* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
This commit is contained in:
Elijah Thomas
2024-10-16 15:36:02 -04:00
committed by GitHub
parent 4543ec129e
commit 26af4db82d
2230 changed files with 18282 additions and 8154 deletions
+5 -3
View File
@@ -1,14 +1,16 @@
#ifndef SIZED_STRING_H
#define SIZED_STRING_H
#include <MSL_C/string.h>
#include "__va_arg.h"
#include "common.h"
#include "string.h"
extern "C" bool strequals(const char *a, const char *b);
/**
* A statically sized string buffer used for resource
* identification where strings are guaranteed to be short.
*
*
* Note: We aren't aware of any other projects that use a similar
* class and given that SS has no debugging info anywhere it's hard
* to be certain about anything.
@@ -59,7 +61,7 @@ struct SizedString {
}
}
bool operator==(const char* other) const {
bool operator==(const char *other) const {
return strequals(mChars, other);
}