[PATCH] D121498: let EST_Uninstantiated in FunctionProtoType::canThrow return CT_Dependent

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 06:14:46 PDT 2022


erichkeane added a comment.

1 small request, otherwise LGTM.



================
Comment at: clang/lib/AST/Type.cpp:3330
 
+  case EST_Uninstantiated:
+    return CT_Dependent;
----------------
Slight preference for moving just this line to 3351 (above or below) to get the fallthrough behavior on the existing CT_Dependent without condition.


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

https://reviews.llvm.org/D121498



More information about the cfe-commits mailing list