[all-commits] [llvm/llvm-project] eda58a: Improve the attribute language option interface so...

AaronBallman via All-commits all-commits at lists.llvm.org
Sat Mar 14 12:59:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eda58ac04cfa95298583223ba6779916e4721550
      https://github.com/llvm/llvm-project/commit/eda58ac04cfa95298583223ba6779916e4721550
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2020-03-14 (Sat, 14 Mar 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/utils/TableGen/ClangAttrEmitter.cpp

  Log Message:
  -----------
  Improve the attribute language option interface somewhat; NFCi.

The name field is optional if the custom code is supplied, so this updates the
documentation for LangOpt and introduces a tablegen warning if both custom code
and a language option name are supplied.




More information about the All-commits mailing list