[PATCH] D145408: Fix false positive with unreachable C++ catch handlers

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 11:25:02 PST 2023


erichkeane added inline comments.


================
Comment at: clang/docs/ReleaseNotes.rst:186
+  `#61177 <https://github.com/llvm/llvm-project/issues/61177>`_ in anticipation
+  of `CWG2699 <https://wg21.link/CWG2699>_` being accepted by WG21.
 
----------------
This link seems broken?  I get 404 from it.


================
Comment at: clang/lib/Sema/SemaStmt.cpp:4354
 
+    QT = QT.getUnqualifiedType();
     if (IsPointer || QT->isReferenceType())
----------------
Do we do this because we don't want the pointee unqualified later?  Else these seem identical to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145408



More information about the cfe-commits mailing list