[clang] [clang-tools-extra] [Clang] support friend declarations with a dependent nested-name-specifier (PR #191268)
Oleksandr Tarasiuk via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 02:10:43 PDT 2026
================
@@ -19,8 +19,11 @@
#include "clang/AST/ExprCXX.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Sema/DelayedDiagnostic.h"
+#include "clang/Sema/EnterExpressionEvaluationContext.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/Lookup.h"
+#include "clang/Sema/Template.h"
+#include "clang/Sema/TemplateDeduction.h"
----------------
a-tarasyuk wrote:
@cor3ntin Thanks for the feedback. I re-checked these includes, and they are needed for the types used here:
`EnterExpressionEvaluationContext.h`-> `EnterExpressionEvaluationContext`
`Template.h` -> `LocalInstantiationScope`, `MultiLevelTemplateArgumentList`
`TemplateDeduction.h` -> `TemplateSpecCandidateSet`, `TemplateDeductionInfo`...
https://github.com/llvm/llvm-project/pull/191268
More information about the cfe-commits
mailing list