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

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 08:15:07 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* '>'.
----------------
abhijeetsharma200 wrote:

I just put `expected ';' after alias declaration` in search all files in CLion to find where the error came from. In the preview, I saw the fixme. 

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


More information about the cfe-commits mailing list