[PATCH] D76169: [WIP][AST] Allow ExprConstant to evaluate structs in C.

Tom Hughes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 19 12:02:14 PDT 2021


tomhughes added a comment.

I took the tests from https://reviews.llvm.org/D76096 and combined it with this change. As mentioned in the last comment  606a734755d1fb6c35a17680d0c251f834b79334 <https://reviews.llvm.org/rG606a734755d1fb6c35a17680d0c251f834b79334> causes conflicts, so I tried applying it to the commit just prior (f2efb5742cc9f74ad73987760651e3d23894a416 <https://reviews.llvm.org/rGf2efb5742cc9f74ad73987760651e3d23894a416>). When running `ninja clang-test`, the following tests fail:

  Failed Tests (8):
    Clang :: CodeGen/2009-06-14-anonymous-union-init.c
    Clang :: CodeGen/builtin-constant-p.c
    Clang :: CodeGen/pascal-string.c
    Clang :: CodeGenCXX/arm-swiftcall.cpp
    Clang :: Sema/array-init.c
    Clang :: Sema/builtins.c
    Clang :: Sema/const-eval.c
    Clang :: Sema/init.c


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76169/new/

https://reviews.llvm.org/D76169



More information about the cfe-commits mailing list