This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG43c20367f417: [include-cleaner][clangd][clang-tidy] Ignore
resource dir during include… (authored by VitaNuo).
Repository:
rG LLVM Github
VitaNuo added a comment.
Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157610/new/
https://reviews.llvm.org/D157610
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
VitaNuo updated this revision to Diff 556127.
VitaNuo marked 3 inline comments as done.
VitaNuo added a comment.
Address review comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157610/new/
https://reviews.llvm.org/D157610
Files:
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks!
Comment at: clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp:587
+ TU.ExtraArgs.push_back(testPath("resources"));
+
VitaNuo updated this revision to Diff 555995.
VitaNuo added a comment.
Rebase to current main.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157610/new/
https://reviews.llvm.org/D157610
Files:
VitaNuo marked an inline comment as done.
VitaNuo added a comment.
Thanks for the help in resolving the resource dir issues!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157610/new/
https://reviews.llvm.org/D157610
VitaNuo updated this revision to Diff 555985.
VitaNuo added a comment.
Fix analysis test to properly recognize the resource directory.
Use HeaderSearch->getModuleMap().BuiltinDir to find out the resource directory.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
kadircet added inline comments.
Comment at: clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp:122
llvm::DenseSet SeenSymbols;
+ std::string ResourceDir = HS->getHeaderSearchOpts().ResourceDir;
// FIXME: Find a way to have less code duplication between
VitaNuo added a comment.
Thanks for the comments!
Comment at: clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp:122
llvm::DenseSet SeenSymbols;
+ std::string ResourceDir = HS->getHeaderSearchOpts().ResourceDir;
// FIXME: Find a way to have less code duplication
VitaNuo updated this revision to Diff 549443.
VitaNuo marked 4 inline comments as done.
VitaNuo added a comment.
Address review comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157610/new/
https://reviews.llvm.org/D157610
Files:
kadircet added inline comments.
Comment at: clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp:122
llvm::DenseSet SeenSymbols;
+ std::string ResourceDir = HS->getHeaderSearchOpts().ResourceDir;
// FIXME: Find a way to have less code duplication between
VitaNuo created this revision.
Herald added subscribers: PiotrZSL, kadircet, carlosgalvezp, arphaman,
xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
VitaNuo requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a
12 matches
Mail list logo