[clang] [clang-tools-extra] [llvm] [clang] WIP: Improved Context Declaration tracking (PR #107942)

Matheus Izvekov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 08:19:01 PST 2024


================
@@ -7946,6 +7980,8 @@ class Sema final : public SemaBase {
   /// A stack of expression evaluation contexts.
   SmallVector<ExpressionEvaluationContextRecord, 8> ExprEvalContexts;
 
+  SmallVector<Decl *, 8> PendingLazyContextDecls;
----------------
mizvekov wrote:

The intention is that they are used for any declarations where its parent is created later. Sure will document this.

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


More information about the llvm-commits mailing list