[all-commits] [llvm/llvm-project] 782a2d: [clang][Sema] Bad register variable type error sho...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Oct 8 03:02:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 782a2d40005a2820f05c9801aff816c01789c7be
      https://github.com/llvm/llvm-project/commit/782a2d40005a2820f05c9801aff816c01789c7be
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/Sema/caret-diags-register-variable.cpp

  Log Message:
  -----------
  [clang][Sema] Bad register variable type error should point to the type (#110239)

...not the register keyword. Fixes #109776.

Until now the error was only tested in clang/test/Sema/asm.c, where you
can't check for the "^" character. I've added a new caret test file as I
see has been done for other error types.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list