llvm-project
68427bc8 - [C++20] [Modules] Support generating in-class defined function with try-catch body (#129212)

Commit
209 days ago
[C++20] [Modules] Support generating in-class defined function with try-catch body (#129212) See the example: ``` export module func; class C { public: void member() try { } catch (...) { } }; ``` We woudln't generate the definition for `C::member` but we should. Since the function is non-inline in modules. This turns out to be an oversight in parser to me. Since the try-catch body is relatively rare, so maybe we just forgot it.
Author
Parents
Loading