4vtomat wrote:

> I tried compiling it and then got two warnings.
> 
> ```
> llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp:1408:11: warning: enumeration 
> value 'CC_RISCVVectorCall' not handled in switch [-Wswitch]
>  1408 |   switch (CC) {
>       |           ^~
> 1 warning generated.
> [3629/3776] Building CXX object 
> tools/clang/tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o
> llvm-project/clang/tools/libclang/CXType.cpp:662:13: warning: enumeration 
> value 'CC_RISCVVectorCall' not handled in switch [-Wswitch]
>   662 |     switch (FD->getCallConv()) {
>       |             ^~~~~~~~~~~~~~~~~
> 1 warning generated.
> ```

I forgot to add these cases for `CC_RISCVVectorCall` lol, thanks~

https://github.com/llvm/llvm-project/pull/77560
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to