[PATCH] D146426: [Sema] Fix crash on __fp16 parameters in template instantiations

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 20 09:12:51 PDT 2023


shafik added inline comments.


================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:1714
 /// Check whether a function's parameter types are all literal types. If so,
 /// return true. If not, produce a suitable diagnostic and return false.
 static bool CheckConstexprParameterTypes(Sema &SemaRef,
----------------
This comment seems to no longer be true since we don't emit a diagnostic for the `!PD` case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146426



More information about the cfe-commits mailing list