github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 52815 tests passed
* 2470 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a 
failure below to see the details.

<details>
<summary>[code=1] 
tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.obj</summary>

```
FAILED: [code=1] 
tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe  /nologo -TP -DCLANG_BUILD_STATIC 
-DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS 
-D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-IC:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\refactor\tweaks
 -IC:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks 
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\..\include-cleaner\include
 
-IC:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd\..\clang-tidy
 -IC:\_work\llvm-project\llvm-project\clang\include 
-IC:\_work\llvm-project\llvm-project\build\tools\clang\include 
-IC:\_work\llvm-project\llvm-project\build\include 
-IC:\_work\llvm-project\llvm-project\llvm\include 
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\clangd 
-IC:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\clangd 
-IC:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\..\..
 /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj 
/permissive- -Werror=unguarded-availability-new /W4  -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type 
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override 
-Wstring-conversion -Wno-pass-failed -Wmisleading-indentation 
-Wctad-maybe-unsupported /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- 
/showIncludes 
/Fotools\clang\tools\extra\clangd\refactor\tweaks\CMakeFiles\obj.clangDaemonTweaks.dir\ExpandDeducedType.cpp.obj
 
/Fdtools\clang\tools\extra\clangd\refactor\tweaks\CMakeFiles\obj.clangDaemonTweaks.dir\
 -c -- 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(117,30):
 error: member access into incomplete type 'TemplateTypeParmDecl'
117 |         if (TTPAuto.getDecl()->isImplicit() &&
|                              ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(506,1):
 note: forward declaration of 'clang::TemplateTypeParmDecl'
506 | TEMPLATETYPEPARM(TemplateTypeParm, TypeDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(504,40):
 note: expanded from macro 'TEMPLATETYPEPARM'
504 | #  define TEMPLATETYPEPARM(Type, Base) TYPE(Type, Base)
|                                        ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(424,28):
 note: expanded from macro 'TYPE'
424 | #  define TYPE(Type, Base) NAMED(Type, Base)
|                            ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(76,1): note: expanded from here
76 | TemplateTypeParmDecl
| ^
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(118,31):
 error: member access into incomplete type 'TemplateTypeParmDecl'
118 |             !TTPAuto.getDecl()->hasTypeConstraint())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(506,1):
 note: forward declaration of 'clang::TemplateTypeParmDecl'
506 | TEMPLATETYPEPARM(TemplateTypeParm, TypeDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(504,40):
 note: expanded from macro 'TEMPLATETYPEPARM'
504 | #  define TEMPLATETYPEPARM(Type, Base) TYPE(Type, Base)
|                                        ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(424,28):
 note: expanded from macro 'TYPE'
424 | #  define TYPE(Type, Base) NAMED(Type, Base)
|                            ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(76,1): note: expanded from here
76 | TemplateTypeParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(499,25):
 note: in instantiation of template class 'std::is_base_of<clang::Decl, 
clang::NonTypeTemplateParmDecl>' requested here
499 |     T, std::enable_if_t<std::is_base_of<Decl, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<Decl, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(504,25):
 note: in instantiation of template class 'std::is_base_of<clang::Stmt, 
clang::NonTypeTemplateParmDecl>' requested here
504 |     T, std::enable_if_t<std::is_base_of<Stmt, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<Stmt, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(509,25):
 note: in instantiation of template class 'std::is_base_of<clang::Type, 
clang::NonTypeTemplateParmDecl>' requested here
509 |     T, std::enable_if_t<std::is_base_of<Type, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<Type, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(514,25):
 note: in instantiation of template class 'std::is_base_of<clang::OMPClause, 
clang::NonTypeTemplateParmDecl>' requested here
514 |     T, std::enable_if_t<std::is_base_of<OMPClause, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<OMPClause, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(519,25):
 note: in instantiation of template class 'std::is_base_of<clang::Attr, 
clang::NonTypeTemplateParmDecl>' requested here
519 |     T, std::enable_if_t<std::is_base_of<Attr, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<Attr, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:22:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\ParsedAST.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\CollectMacros.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Protocol.h:26:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\URI.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/StringRef.h:12:
In file included from 
C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h:19:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\optional:16:
In file included from 
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\exception:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\type_traits(1252,55): error: 
incomplete type 'clang::NonTypeTemplateParmDecl' used in type trait expression
1252 | struct is_base_of : bool_constant<__is_base_of(_Base, _Derived)> {
|                                                       ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(557,25):
 note: in instantiation of template class 'std::is_base_of<clang::TypeLoc, 
clang::NonTypeTemplateParmDecl>' requested here
557 |     T, std::enable_if_t<std::is_base_of<TypeLoc, T>::value>>
|                         ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: during template argument deduction for class template partial 
specialization 'BaseConverter<T, std::enable_if_t<std::is_base_of<TypeLoc, 
T>::value>>' [with T = clang::NonTypeTemplateParmDecl]
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|            ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,12):
 note: in instantiation of template class 
'clang::DynTypedNode::BaseConverter<clang::NonTypeTemplateParmDecl>' requested 
here
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(348,1):
 note: forward declaration of 'clang::NonTypeTemplateParmDecl'
348 | NONTYPETEMPLATEPARM(NonTypeTemplateParm, DeclaratorDecl)
| ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(346,43):
 note: expanded from macro 'NONTYPETEMPLATEPARM'
346 | #  define NONTYPETEMPLATEPARM(Type, Base) DECLARATOR(Type, Base)
|                                           ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(256,34):
 note: expanded from macro 'DECLARATOR'
256 | #  define DECLARATOR(Type, Base) VALUE(Type, Base)
|                                  ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(204,29):
 note: expanded from macro 'VALUE'
204 | #  define VALUE(Type, Base) NAMED(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\build\tools\clang\include\clang/AST/DeclNodes.inc(142,29):
 note: expanded from macro 'NAMED'
142 | #  define NAMED(Type, Base) DECL(Type, Base)
|                             ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTFwd.h(20,35): 
note: expanded from macro 'DECL'
20 | #define DECL(DERIVED, BASE) class DERIVED##Decl;
|                                   ^
<scratch space>(53,1): note: expanded from here
53 | NonTypeTemplateParmDecl
| ^
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp:8:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor/Tweak.h:23:
In file included from 
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\Selection.h:44:
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(274,44):
 error: cannot initialize a parameter of type 'const char *' with an rvalue of 
type 'const llvm::AlignedCharArrayUnion<const void *, TemplateArgument, 
TemplateArgumentLoc, NestedNameSpecifierLoc, QualType, TypeLoc, 
ObjCProtocolLoc> *'
274 |     return BaseConverter<T>::get(NodeKind, &Storage);
|                                            ^~~~~~~~
C:\_work\llvm-project\llvm-project\clang-tools-extra\clangd\refactor\tweaks\ExpandDeducedType.cpp(98,31):
 note: in instantiation of function template specialization 
'clang::DynTypedNode::get<clang::NonTypeTemplateParmDecl>' requested here
98 |     if (Node->Parent->ASTNode.get<NonTypeTemplateParmDecl>())
|                               ^
C:\_work\llvm-project\llvm-project\clang\include\clang/AST/ASTTypeTraits.h(581,56):
 note: passing argument to parameter 'Storage' here
581 |   static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
|                                                        ^
9 errors generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/216946
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to