================
@@ -1923,6 +1923,42 @@ TEST(FindImplementations, Inheritance) {
   }
 }
 
+TEST(FindImplementations, InheritanceRecursion) {
+  // Make sure inheritance is followed, but does not diverge.
+  llvm::StringRef Test = R"cpp(
+    template <int>
+    struct [[Ev^en]];
----------------
timon-ul wrote:

Implemented this, but not sure if the expected behaviour of `defRange` when no 
definition is available is correct, failure vs. fallback on decl. Just decided 
to mirror the LSP request that falls back, but can understand if we do not want 
fallbacks.

https://github.com/llvm/llvm-project/pull/177564
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to