[PATCH] D135816: [clang] Support `constexpr` for some `ASTNodeKind` member functions

Eric Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 09:41:09 PDT 2022


li.zhe.hua updated this revision to Diff 467512.
li.zhe.hua added a comment.

Appease clang-format, add constexpr to operator<.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135816/new/

https://reviews.llvm.org/D135816

Files:
  clang/include/clang/AST/ASTTypeTraits.h
  clang/unittests/AST/ASTTypeTraitsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135816.467512.patch
Type: text/x-patch
Size: 3903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221013/4041e347/attachment.bin>


More information about the cfe-commits mailing list