[all-commits] [llvm/llvm-project] e55bda: [NFC] Fix the warning Wcovered-switch-default
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Thu Dec 14 19:39:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e55bda06dc2bb1ef11ff4fcc43f90d8bf843f967
https://github.com/llvm/llvm-project/commit/e55bda06dc2bb1ef11ff4fcc43f90d8bf843f967
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-12-15 (Fri, 15 Dec 2023)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
Log Message:
-----------
[NFC] Fix the warning Wcovered-switch-default
There is a warning saying:
ASTWriter.h:766:5: error: default label in switch which covers all
enumeration values [-Werror,-Wcovered-switch-default]
766 | default:
| ^
1 error generated.
And this patch tries to fix this.
More information about the All-commits
mailing list