owenpan added inline comments.

================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1839
+        PreviousNotConst = PreviousNotConst->getPreviousNonComment();
+    }
 
----------------
Remove braces.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1875
+    // const a = in JavaScript.
+    if (Style.isJavaScript() && PreviousNotConst->is(tok::kw_const))
+      return true;
----------------
curdeius wrote:
> Nit.
+1


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115990/new/

https://reviews.llvm.org/D115990

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to