summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-17 08:30:00 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-17 08:30:00 +0100
commit80de28e3472613e8f6aa8b2730d56b5307f4fb9a (patch)
tree7799e7dfc8b463adba33a87852dd8ea17dec8fa3 /include/CompilerKit
parent745bf42b74b6d9b1f6385c785b31a8734cfb4509 (diff)
chore: Improved assembler backends.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit')
-rw-r--r--include/CompilerKit/CodeGenerator.h2
-rw-r--r--include/CompilerKit/Detail/Config.h2
-rw-r--r--include/CompilerKit/Ref.h6
3 files changed, 5 insertions, 5 deletions
diff --git a/include/CompilerKit/CodeGenerator.h b/include/CompilerKit/CodeGenerator.h
index 36663ca..f2875bf 100644
--- a/include/CompilerKit/CodeGenerator.h
+++ b/include/CompilerKit/CodeGenerator.h
@@ -46,7 +46,7 @@ class AssemblyFactory final {
Int32 Compile(STLString sourceFile, const Int32& arch) noexcept;
- void Mount(WeakRef<IAssembly> mountPtr) noexcept;
+ void Mount(WeakRef<IAssembly> mountPtr) noexcept;
WeakRef<IAssembly> Unmount() noexcept;
private:
diff --git a/include/CompilerKit/Detail/Config.h b/include/CompilerKit/Detail/Config.h
index 3935fa3..79bc7fc 100644
--- a/include/CompilerKit/Detail/Config.h
+++ b/include/CompilerKit/Detail/Config.h
@@ -64,4 +64,4 @@ inline bool install_signal(Int32 signal, void (*handler)(int)) noexcept {
}
} // namespace CompilerKit
-#endif // __COMPILERKIT_CONFIG_H__ \ No newline at end of file
+#endif // __COMPILERKIT_CONFIG_H__ \ No newline at end of file
diff --git a/include/CompilerKit/Ref.h b/include/CompilerKit/Ref.h
index 3dee0c0..4063508 100644
--- a/include/CompilerKit/Ref.h
+++ b/include/CompilerKit/Ref.h
@@ -38,7 +38,7 @@ class StrongRef {
public:
StrongRef(Type* cls) : m_Class(cls), m_Strong(true) {}
- StrongRef& operator=(Type *ref) {
+ StrongRef& operator=(Type* ref) {
m_Class = ref;
return *this;
}
@@ -62,7 +62,7 @@ class StrongRef {
template <typename T>
class WeakRef final : public StrongRef<T> {
public:
- WeakRef() = delete;
+ WeakRef() = delete;
~WeakRef() = default;
NECTI_COPY_DEFAULT(WeakRef)
@@ -94,5 +94,5 @@ class NonNullRef final {
};
using StrongAny = StrongRef<VoidPtr>;
-using WeakAny = WeakRef<VoidPtr>;
+using WeakAny = WeakRef<VoidPtr>;
} // namespace CompilerKit