[clang] [Clang] [C++26] Expansion Statements (Part 1: AST) (PR #169680)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 15:51:55 PDT 2026


================
@@ -96,9 +96,10 @@ IdentifierResolver::~IdentifierResolver() {
   delete IdDeclInfos;
 }
 
-/// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
-/// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
-/// true if 'D' belongs to the given declaration context.
+/// isDeclInScope - If 'Ctx' is a function/method/expansion statement,
----------------
shafik wrote:

This is kind of hard to read, I don't have a suggestion other than not this.

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


More information about the cfe-commits mailing list