[clang] [clang] implement CWG2064: ignore value dependence for decltype (PR #190495)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 06:36:18 PDT 2026


================
@@ -194,7 +194,7 @@ class Dependence {
   TypeDependence type() const {
     return translate(V, UnexpandedPack, TypeDependence::UnexpandedPack) |
            translate(V, Instantiation, TypeDependence::Instantiation) |
-           translate(V, Dependent, TypeDependence::Dependent) |
+           translate(V, Type, TypeDependence::Dependent) |
----------------
erichkeane wrote:

Can we comment this oddity as well?  Someone is going to come by and wonder why here.

https://github.com/llvm/llvm-project/pull/190495


More information about the cfe-commits mailing list