C++: Address review comments

This commit is contained in:
Jeroen Ketema
2025-04-30 19:10:35 +02:00
parent edd18dc052
commit 3423a1072a
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import os
def test(codeql, cpp):
os.mkdir("pch")
extractor = f"{cpp.get_tool("extractor")}"
extractor = cpp.get_tool("extractor")
codeql.database.create(command=[
f'"{extractor}" --mimic-clang -emit-pch -o pch/a.pch a.c',
f'"{extractor}" --mimic-clang -include-pch pch/a.pch -Iextra_dummy_path b.c',

View File

@@ -3,7 +3,7 @@ import os
def test(codeql, cpp):
os.mkdir("pch")
extractor = f"{cpp.get_tool("extractor")}"
extractor = cpp.get_tool("extractor")
codeql.database.create(command=[
f'"{extractor}" --mimic-cl /Yca.h /Fppch/a.pch a.c',
f'"{extractor}" --mimic-cl /Yub.h /Fppch/a.pch b.c',