================
@@ -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
----------------
HighCommander4 wrote:

nit: for consistency with the other checks in this function, could you:

 * move this after the "Look at last line before completion only" check; and
 * formulate the check using `ends_with`?

https://github.com/llvm/llvm-project/pull/138846
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to