[clang] [Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros (PR #90574)

Davide Italiano via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 21 20:31:47 PDT 2024


dcci wrote:

This commit seems to have broken well-formed code in thrift:

```
fbcode/thrift/compiler/generate/t_py_generator.cc:881:20: error: declaration of variable 'module' with deduced type 'const auto &' requires an initializer
  881 |   for (const auto &module : modules) {
      |                    ^
fbcode/thrift/compiler/generate/t_py_generator.cc:881:27: error: expected ';' in 'for' statement specifier
  881 |   for (const auto &module : modules) {
      |                           ^
fbcode/thrift/compiler/generate/t_py_generator.cc:881:27: error: expected expression
fbcode/thrift/compiler/generate/t_py_generator.cc:881:27: error: expected ';' in 'for' statement specifier
4 errors generated.
```

https://github.com/llvm/llvm-project/pull/90574


More information about the cfe-commits mailing list