ilya-biryukov added inline comments.

================
Comment at: clangd/ClangdUnit.cpp:418
+        // for functions and methods, the return type.
+        assert(item.detail.empty() && "Unexpected extraneous CK_ResultType");
+        Item.detail = Chunk.Text;
----------------
Typo: should be `Item` instead of `item`.

Otherwise this does not compile with assertions enabled.


https://reviews.llvm.org/D37101



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

Reply via email to