We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f50ce31 commit fd48f30Copy full SHA for fd48f30
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -522,7 +522,10 @@ async def main() -> None:
522
# Load the database and extract all files.
523
with open(os.path.join(build_path, db_path)) as f:
524
database = json.load(f)
525
- files = {os.path.abspath(os.path.join(e["directory"], e["file"])) for e in database}
+ files = {
526
+ os.path.normpath(os.path.abspath(os.path.join(e["directory"], e["file"])))
527
+ for e in database
528
+ }
529
number_files_in_database = len(files)
530
531
# Filter source files from compilation database.
0 commit comments