owenpan added a comment.

The culprit is `AnnotatingParser::parseAngle()` in 
clang/lib/Format/TokenAnnotator.cpp. This commit merely uncovered it. :)

Upon reading a `<` token, `parseAngle()` tries to scan the rest of the line to 
find a matching `>`. If found, it's given the type `TT_TemplateCloser`. This 
should be fixed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66332



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

Reply via email to