[PATCH] D103188: [clang-tidy] modernize-loop-convert: limit use of auto

Edward O via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 13:48:47 PDT 2021


eddy-geek updated this revision to Diff 348080.
eddy-geek added a comment.

*Trigger rebuild (windows failed to git clone)*


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103188/new/

https://reviews.llvm.org/D103188

Files:
  clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py


Index: clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
===================================================================
--- clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
+++ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
@@ -87,7 +87,7 @@
 
   # Load the database and extract all files.
   database = json.load(open(os.path.join(build_path, db_path)))
-  files = [entry['file'] for entry in database]
+  files = [os.path.join(entry['directory'], entry['file']) for entry in database]
 
   # Filter out .rc files on Windows. CMake includes them for some reason.
   files = [f for f in files if not f.endswith('.rc')]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103188.348080.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210526/5cff78b6/attachment.bin>


More information about the cfe-commits mailing list