[all-commits] [llvm/llvm-project] e329b6: [NFC][RootSignatures] Conform to new std::optional...

Finn Plummer via All-commits all-commits at lists.llvm.org
Thu Apr 24 09:55:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e329b6c530f30bc645ea188cd25068c6759eb16a
      https://github.com/llvm/llvm-project/commit/e329b6c530f30bc645ea188cd25068c6759eb16a
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp

  Log Message:
  -----------
  [NFC][RootSignatures] Conform to new std::optional calling conventions (#136747)

- It was determined to define the parsing methods much more inline with
a recursive descent parser to follow the EBNF notation better
- As part of this change, we decided to go with a calling convention to
the parse.* methods of returning an optional rather than a bool and a
reference to the parsed struct

This is a clean-up task from
https://github.com/llvm/llvm-project/pull/133800



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