about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-11-18 18:37:45 -0500
committerAntoni Boucher <bouanto@zoho.com>2024-11-18 18:37:45 -0500
commit337a67de4942a0d7b04e0de665304fd0f7729ef6 (patch)
treeec5845748176e458c90af6c17df6b52bbec3c18b
parenta583963bd3008e32596779264f03353d8a1e2f15 (diff)
downloadrust-337a67de4942a0d7b04e0de665304fd0f7729ef6.tar.gz
rust-337a67de4942a0d7b04e0de665304fd0f7729ef6.zip
Add username to FIXME and TODO
-rw-r--r--src/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builder.rs b/src/builder.rs
index 459110bf9db..2839ff302a3 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -1119,7 +1119,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
             modified_destination_type = modified_destination_type.make_volatile();
         }
 
-        // FIXME: The type checking in `add_assignment` removes only one
+        // FIXME(antoyo): The type checking in `add_assignment` removes only one
         // qualifier from each side. So the writes `int → volatile int` and
         // `int → int __attribute__((aligned(1)))` are considered legal but
         // `int → volatile int __attribute__((aligned(1)))` is not. This seems
@@ -1131,7 +1131,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
             self.cx.context.new_bitcast(None, ptr, modified_destination_type.make_pointer());
         let modified_destination = modified_ptr.dereference(None);
         self.llbb().add_assignment(None, modified_destination, val);
-        // TODO: handle `MemFlags::NONTEMPORAL`.
+        // TODO(antoyo): handle `MemFlags::NONTEMPORAL`.
         // NOTE: dummy value here since it's never used. FIXME(antoyo): API should not return a value here?
         self.cx.context.new_rvalue_zero(self.type_i32())
     }