[clang] [clang] Fixes alias declaration fix-it location for token-split '>>' (PR #184621)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 07:32:09 PST 2026


================
@@ -190,8 +190,6 @@ namespace AliasDeclEndLocation {
     ;
   using D = AliasDeclEndLocation::A<int
     > // expected-error {{expected ';' after alias declaration}}
-  // FIXME: After splitting this >> into two > tokens, we incorrectly determine
-  // the end of the template-id to be after the *second* '>'.
----------------
zyn0217 wrote:

How did you realize there was a FIXME here mentioning the issue without any changes to this test?

https://github.com/llvm/llvm-project/pull/184621


More information about the cfe-commits mailing list