inclyc planned changes to this revision. inclyc added inline comments.
================ Comment at: clang/lib/Sema/SemaExprCXX.cpp:5431 +static bool CheckTypeTraitArgNumber(TypeTrait Kind, size_t N) { + if (Kind <= UTT_Last) + return N == 1; ---------------- I think we should report a warning or an error if this function fails. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131423/new/ https://reviews.llvm.org/D131423 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits