Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 0b047d6

Browse files
author
Laszlo Nagy
committed
[scan-build-py] move argument parsing into separate module
Differential Revision: https://reviews.llvm.org/D30601 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297307 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a9ded30 commit 0b047d6

File tree

5 files changed

+55
-406
lines changed

5 files changed

+55
-406
lines changed

tools/scan-build-py/bin/analyze-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ import os.path
1313
this_dir = os.path.dirname(os.path.realpath(__file__))
1414
sys.path.append(os.path.dirname(this_dir))
1515

16-
from libscanbuild.analyze import analyze_build_main
17-
sys.exit(analyze_build_main(this_dir, False))
16+
from libscanbuild.analyze import analyze_build
17+
sys.exit(analyze_build())

tools/scan-build-py/bin/intercept-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ import os.path
1313
this_dir = os.path.dirname(os.path.realpath(__file__))
1414
sys.path.append(os.path.dirname(this_dir))
1515

16-
from libscanbuild.intercept import intercept_build_main
17-
sys.exit(intercept_build_main(this_dir))
16+
from libscanbuild.intercept import intercept_build
17+
sys.exit(intercept_build())

tools/scan-build-py/bin/scan-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ import os.path
1313
this_dir = os.path.dirname(os.path.realpath(__file__))
1414
sys.path.append(os.path.dirname(this_dir))
1515

16-
from libscanbuild.analyze import analyze_build_main
17-
sys.exit(analyze_build_main(this_dir, True))
16+
from libscanbuild.analyze import scan_build
17+
sys.exit(scan_build())

0 commit comments

Comments
 (0)