ilya-biryukov marked an inline comment as done.
ilya-biryukov added inline comments.


================
Comment at: clang-tools-extra/trunk/clangd/CodeComplete.cpp:925
+    // FIXME: this should only be set on CK_CurrentParameter.
+    Signal.ContainsActiveParameter = true;
+  }
----------------
uabelho wrote:
> Hi!
> 
> gcc (7.4) warns on this code:
> 
> ```
> error: parameter 'Signal' set but not used [-Werror=unused-but-set-parameter]
>                               SignatureQualitySignals Signal) const {
>                                                       ^~~~~~
> ```
> Should Signal be a reference? Or is it specifically not a reference right now 
> due to the FIXME?
Should be a reference, thanks for bringing that up! I'll send a fix.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62476



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to