================
@@ -2455,6 +2455,11 @@ bool isIncludeFile(llvm::StringRef Line) {
}
bool allowImplicitCompletion(llvm::StringRef Content, unsigned Offset) {
+ // Check if we're inside an empty template argument list
+ if (Content.size() > 2 && Content[Offset - 1] == '<' &&
+ Content[Offset] == '>')
+ return true;
+
----------------
zyn0217 wrote:
Does it also pop up a completion within a template parameter list?
```cpp
template <^> class foo {};
```
https://github.com/llvm/llvm-project/pull/138846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits