large code cleanup (#8364)

* Remove redundant qualifiers in filament public headers

* remove redundant qualifiers in filament implementation

* remove redundant qualifiers in libutils public headers

* remove redundant qualifier for libutils implementation

* remove redundant qualifiers for libmath

* use is_same_v<> instead of is_same<>

* bring back Builder::name()

we keep Builder::name() on all object, and forward to the MixIn class
that does the implementation, so that we have correct documentation, and
better IDE completion.

* add missing const parameters in filament's implementation

* various source cleanup

- missing includes
- missing const
- C cast style
- superfluous inline keyword
This commit is contained in:
Mathias Agopian
2025-01-17 17:50:16 -08:00
committed by GitHub
parent 1747ae8f5a
commit bef849b0e3
169 changed files with 1982 additions and 1910 deletions

View File

@@ -120,7 +120,7 @@ bool CallStack::operator<(const CallStack& rhs) const {
// ------------------------------------------------------------------------------------------------
utils::CString CallStack::demangle(const char* mangled) {
CString CallStack::demangle(const char* mangled) {
#if !defined(NDEBUG) && !defined(WIN32)
size_t len;
int status;
@@ -135,7 +135,7 @@ utils::CString CallStack::demangle(const char* mangled) {
}
utils::CString CallStack::demangleTypeName(const char* mangled) {
CString CallStack::demangleTypeName(const char* mangled) {
return demangle(mangled);
}