[PATCH] D118437: [NFC] [Modules] Refactor ODR checking for default template argument in ASTReader

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 27 23:40:21 PST 2022


ChuanqiXu created this revision.
ChuanqiXu added reviewers: urnathan, erichkeane, aaron.ballman, rjmccall, rsmith.
ChuanqiXu added a project: clang.
ChuanqiXu requested review of this revision.
Herald added a subscriber: cfe-commits.

This patch tries to refactor ODR checking process for default template argument in ASTReader. We could save about 100 lines of code after the refactoring. The patch is intended to be NFC.

Test Plan:
check-all


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118437

Files:
  clang/include/clang/Basic/DiagnosticSerializationKinds.td
  clang/lib/Serialization/ASTReader.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118437.403903.patch
Type: text/x-patch
Size: 11000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220128/e53712e0/attachment-0001.bin>


More information about the cfe-commits mailing list