[PATCH] D119537: [clangd] Treat 'auto' params as deduced if there's a single instantiation.

Adrian Vogelsgesang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 11 08:16:51 PST 2022


avogelsgesang added inline comments.


================
Comment at: clang-tools-extra/clangd/AST.cpp:508
+    int ParamIndex = paramIndex(*FTD, *Auto.getDecl());
+    if (ParamIndex < 0)
+      return true;
----------------
out of curiosity: when would this happen?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119537/new/

https://reviews.llvm.org/D119537



More information about the cfe-commits mailing list