hans marked an inline comment as done.
hans added inline comments.

================
Comment at: clang/lib/Format/TokenAnnotator.cpp:2806
+      if (Previous->is(tok::identifier) || Previous->isSimpleTypeSpecifier()) {
+        Previous = Previous->Previous;
+        continue;
----------------
krasimir wrote:
> Consider using `Previous->getPreviousNonComment()` here and below to jump 
> over comments.
Thanks! Doing this, and adding a test that requires it.


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

https://reviews.llvm.org/D76850



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

Reply via email to