suoyuan666 wrote:

CI log:

```txt
2026-03-31T09:43:43.4044673Z 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Analysis/LifetimeSafety/AssignmentQuery.cpp:146:43:
 error: implicit instantiation of undefined template 'llvm::SmallPtrSet<const 
clang::CFGBlock *, 32>'
2026-03-31T09:43:43.4045979Z   146 |   llvm::SmallPtrSet<const CFGBlock *, 32> 
VistedBlocks;
2026-03-31T09:43:43.4046333Z       |                                           ^
2026-03-31T09:43:43.4047037Z 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/ASTContext.h:55:41:
 note: template is declared here
2026-03-31T09:43:43.4047763Z    55 | template <typename T, unsigned N> class 
SmallPtrSet;
2026-03-31T09:43:43.4048092Z       |                                         ^
2026-03-31T09:43:43.4048350Z 1 error generated.
```

Sorry, it looks like I need to add `#include "llvm/ADT/SmallPtrSet.h"`

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

Reply via email to