[clang] [Clang][AST][NFC] Move template argument dependence computations for MemberExpr to computeDependence (PR #86682)

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 06:31:19 PDT 2024


================
@@ -583,11 +583,14 @@ class alignas(void *) Stmt {
     unsigned IsArrow : 1;
 
     /// True if this member expression used a nested-name-specifier to
-    /// refer to the member, e.g., "x->Base::f", or found its member via
-    /// a using declaration.  When true, a MemberExprNameQualifier
-    /// structure is allocated immediately after the MemberExpr.
+    /// refer to the member, e.g., "x->Base::f".
     LLVM_PREFERRED_TYPE(bool)
-    unsigned HasQualifierOrFoundDecl : 1;
+    unsigned HasQualifier : 1;
+
+    // True if this member expression found its member via
----------------
sdkrystian wrote:

Could have been me? I made the comment a single line and clang-format seems happy.

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


More information about the cfe-commits mailing list