[clang] [ASTImporter] Fix infinite recurse on return type declared inside body (#68775) (PR #89096)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 17 10:14:05 PDT 2024
================
@@ -3649,19 +3649,15 @@ class IsTypeDeclaredInsideVisitor
/// This function checks if the function has 'auto' return type that contains
/// a reference (in any way) to a declaration inside the same function.
----------------
mizvekov wrote:
```suggestion
/// This function checks if the given function has a return type that contains
/// a reference (in any way) to a declaration inside the same function.
```
https://github.com/llvm/llvm-project/pull/89096
More information about the cfe-commits
mailing list