[PATCH] D131423: [clang] fix frontend crash when evaluating type trait

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 07:38:04 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:5445
+  }
+}
+
----------------
This function copies the two conditions for the if-statements from `evaluateTypeTrait()`. Is just doing it in `evaluateTypeTrait()` too late? Duplicating that seems bad.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131423



More information about the cfe-commits mailing list