[lldb][NFC] Fix documentation formatting in ASTResultSynthesizer
authorRaphael Isemann <teemperor@gmail.com>
Wed, 3 Jun 2020 19:30:07 +0000 (21:30 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Wed, 3 Jun 2020 19:34:23 +0000 (21:34 +0200)
This comment apparently didn't survive the great LLDB reformatting unharmed.

lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp

index bd705af..39ba5f4 100644 (file)
@@ -248,48 +248,37 @@ bool ASTResultSynthesizer::SynthesizeBodyResult(CompoundStmt *Body,
   // For Lvalues
   //
   //   - In AST result synthesis (here!) the expression E is transformed into an
-  //   initialization
-  //     T *$__lldb_expr_result_ptr = &E.
+  //     initialization T *$__lldb_expr_result_ptr = &E.
   //
   //   - In structure allocation, a pointer-sized slot is allocated in the
-  //   struct that is to be
-  //     passed into the expression.
+  //     struct that is to be passed into the expression.
   //
   //   - In IR transformations, reads and writes to $__lldb_expr_result_ptr are
-  //   redirected at
-  //     an entry in the struct ($__lldb_arg) passed into the expression.
-  //     (Other persistent
-  //     variables are treated similarly, having been materialized as
-  //     references, but in those
-  //     cases the value of the reference itself is never modified.)
+  //     redirected at an entry in the struct ($__lldb_arg) passed into the
+  //     expression. (Other persistent variables are treated similarly, having
+  //     been materialized as references, but in those cases the value of the
+  //     reference itself is never modified.)
   //
   //   - During materialization, $0 (the result persistent variable) is ignored.
   //
   //   - During dematerialization, $0 is marked up as a load address with value
-  //   equal to the
-  //     contents of the structure entry.
+  //     equal to the contents of the structure entry.
   //
   // For Rvalues
   //
   //   - In AST result synthesis the expression E is transformed into an
-  //   initialization
-  //     static T $__lldb_expr_result = E.
+  //     initialization static T $__lldb_expr_result = E.
   //
   //   - In structure allocation, a pointer-sized slot is allocated in the
-  //   struct that is to be
-  //     passed into the expression.
+  //     struct that is to be passed into the expression.
   //
   //   - In IR transformations, an instruction is inserted at the beginning of
-  //   the function to
-  //     dereference the pointer resident in the slot.  Reads and writes to
-  //     $__lldb_expr_result
-  //     are redirected at that dereferenced version.  Guard variables for the
-  //     static variable
-  //     are excised.
+  //     the function to dereference the pointer resident in the slot. Reads and
+  //     writes to $__lldb_expr_result are redirected at that dereferenced
+  //     version. Guard variables for the static variable are excised.
   //
   //   - During materialization, $0 (the result persistent variable) is
-  //   populated with the location
-  //     of a newly-allocated area of memory.
+  //     populated with the location of a newly-allocated area of memory.
   //
   //   - During dematerialization, $0 is ignored.