[PATCH] D88338: [clangd] clangd --check: standalone diagnosis of common problems
Hongtao Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 1 15:46:37 PDT 2020
hoy added inline comments.
================
Comment at: clang-tools-extra/clangd/tool/Check.cpp:243
+ size_t N = 50;
+ auto xxx = std::string(N, 'x');
+ )cpp";
----------------
Hi, I'm seeing an error with this "tweak: ExpandAutoType ==> FAIL: Could not deduce type for 'auto' type". It's probably due to that the std string header was not available when running `check.test`, thus the test failed. Is it expected that the header is available when test is run? Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88338/new/
https://reviews.llvm.org/D88338
More information about the cfe-commits
mailing list