[PATCH] D90448: [clang] Add type check for explicit instantiation of static data members

Chuyang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 30 02:36:49 PDT 2020


nomanous created this revision.
nomanous added reviewers: rsmith, chandlerc, Eugene.Zelenko, majnemer, lvoufo.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
nomanous requested review of this revision.

Add type check for explicit instantiation of template classes' static data members. This is a buf fix for #38205.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90448

Files:
  clang/include/clang/AST/ASTContext.h
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaTemplate.cpp
  clang/test/SemaCXX/template-explicit-instant-type-mismatch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90448.301838.patch
Type: text/x-patch
Size: 4395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201030/0dbb48d7/attachment.bin>


More information about the cfe-commits mailing list