[PATCH] D143096: [clangd] Provide patched diagnostics with preamble patch
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 17 03:19:36 PST 2023
kadircet updated this revision to Diff 498308.
kadircet marked 6 inline comments as done.
kadircet added a comment.
- Move patch translation logic to a separate class
- Perform eager copies and use `bool translateX(X&)` type of APIs instead of returning optionals.
- Perform multi line content check for each alternative, not just the closest match.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143096/new/
https://reviews.llvm.org/D143096
Files:
clang-tools-extra/clangd/ParsedAST.cpp
clang-tools-extra/clangd/Preamble.cpp
clang-tools-extra/clangd/Preamble.h
clang-tools-extra/clangd/unittests/PreambleTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143096.498308.patch
Type: text/x-patch
Size: 13954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230217/f41817a8/attachment-0001.bin>
More information about the cfe-commits
mailing list