[clang] [Clang][Sema] Skip checking anonymous enum in using enum declaration (PR #87144)
Qizhi Hu via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 16 18:31:31 PDT 2024
jcsxky wrote:
> Hi @jcsxky , I fetched and rebased to origin/main just now (6/16/2024 at 4:30pm Central US time), and rebuilt - and I see the crash. Did you try rebasing to latest source and rebuilding?
>
> `$ clang --analyze -Xclang -analyzer-config -Xclang experimental-enable-naive-ctu-analysis=true -Xclang -analyzer-config -Xclang ctu-dir=ctudir -Xclang -analyzer-config -Xclang display-ctu-progress=true test.cpp` `CTU loaded AST file: bstrwrap.cpp.ast` `clang: clang/lib/AST/Decl.cpp:4045: void clang::FunctionDecl::setDescribedFunctionTemplate(clang::FunctionTemplateDecl*): Assertion "TemplateOrSpecialization.isNull() && "Member function is already a specialization" failed.` `PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.`
>
> ...
Yes, I have tried the latest source, but it still looks good. Also, I didn't see the output `CTU loaded AST file: bstrwrap.cpp.ast`. I tried this command `clang-extdef-mapping test.cpp` and output is `11:c:@F at test0#` which is different from yours(`f` and `F`, output of the other file is identical). This time I see `CTU loaded AST file: bstrwrap.cpp.ast` but still has no crash. @vabridgers Can you check your output with command `clang-extdef-mapping test.cpp`?
https://github.com/llvm/llvm-project/pull/87144
More information about the cfe-commits
mailing list