poelmanc added a comment. Wow, thanks for the super-quick testing, feedback and a new test case! I added a slightly enhanced version of your test case to the modernize-use-using.cpp test file and got it passing by treating tok::less and tok::right as AngleBrackets //only when ParenLevel == 0//. See updated patch above. Holler if you think of any other stressing cases!
P.S. What do we think of actually handling the comma cases? (A) that's probably hard, and (B) as a C++ programmer I don't use them myself, so would we expand: typedef S<(0 < 0)> S_t, *S_p; to: using S_t = S<(0 < 0)>; using S_p = S_t*; ? Repository: rCTE Clang Tools Extra CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67460/new/ https://reviews.llvm.org/D67460 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits