[all-commits] [llvm/llvm-project] 8ca036: [TextAPI] Skip adding empty attributes (#77400)

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Tue Jan 9 09:41:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ca0364d33c7e6c4083e3b1c0b77b00b2c93ff46
      https://github.com/llvm/llvm-project/commit/8ca0364d33c7e6c4083e3b1c0b77b00b2c93ff46
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M llvm/lib/TextAPI/InterfaceFile.cpp

  Log Message:
  -----------
  [TextAPI] Skip adding empty attributes (#77400)

An empty string attribute value (e.g. a parent-umbrella: "") is
equivalent to omitting it. Theres no reason to write it out.




More information about the All-commits mailing list