[all-commits] [llvm/llvm-project] 9388aa: self-review: define an error token to denote lex e...

Finn Plummer via All-commits all-commits at lists.llvm.org
Wed Feb 12 16:21:47 PST 2025


  Branch: refs/heads/users/inbelic/pr-122981
  Home:   https://github.com/llvm/llvm-project
  Commit: 9388aaed4cc3312d0db8a538a6940337e25168e0
      https://github.com/llvm/llvm-project/commit/9388aaed4cc3312d0db8a538a6940337e25168e0
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M clang/include/clang/Parse/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp

  Log Message:
  -----------
  self-review: define an error token to denote lex errors during peek

- the current use of invalid is not able to distinguish between a lex
error that has been reported to diagnostics and an invalid token that
should be reported during parsing
- an error token is defined as the default token to denote a lex error
that has been reported and shouldn't be handled by the parsing



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