================ @@ -217,8 +197,36 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID, #undef PPC_FAWORD_HWCAP #undef PPC_FAWORD_HWCAP2 #undef PPC_FAWORD_CPUID - } + } else + assert(0 && "unexpected builtin"); ---------------- diggerlin wrote:
suggest that moving the assert to begin of the function , it is more readable. https://github.com/llvm/llvm-project/pull/177428 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
