[PATCH] D146686: [Driver] Fix rpath for compiler-rt
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 27 11:15:39 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/OHOS.cpp:140
getFilePaths().clear();
- std::string CandidateLibPath = getArchSpecificLibPath();
- if (getVFS().exists(CandidateLibPath))
- getFilePaths().push_back(CandidateLibPath);
+ for (const auto &CandidateLibPath : getArchSpecificLibPaths()) {
+ if (getVFS().exists(CandidateLibPath))
----------------
delete braces
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146686/new/
https://reviews.llvm.org/D146686
More information about the cfe-commits
mailing list