summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/CmpRuns.py
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2017-09-22 01:41:16 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2017-09-22 01:41:16 +0000
commit3abfc3b0d73bf5f7cdf43cf6068de09d4150006f (patch)
treea9632efec3bec0426fd61eb80f8308f11aecd2fd /clang/utils/analyzer/CmpRuns.py
parentaa6ce3414143594c496e634de199de0c4173e36f (diff)
downloadbcm5719-llvm-3abfc3b0d73bf5f7cdf43cf6068de09d4150006f.tar.gz
bcm5719-llvm-3abfc3b0d73bf5f7cdf43cf6068de09d4150006f.zip
[Analyzer] Refactor analyzer testing scripts.
- Exporting needed function for future reuse. - Idiomatic python: using with `file as f` instead of `try/finally`. - Fixing some indentation issues. - No need to reinvent python `multiprocessing.getCPUCount()` - Removing a function parameter which is always the same under all invocations. - Adding some docstrings. Differential Revision: https://reviews.llvm.org/D38156 llvm-svn: 313949
Diffstat (limited to 'clang/utils/analyzer/CmpRuns.py')
-rwxr-xr-xclang/utils/analyzer/CmpRuns.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/utils/analyzer/CmpRuns.py b/clang/utils/analyzer/CmpRuns.py
index 23b9d7fd22e..065c7de1b3f 100755
--- a/clang/utils/analyzer/CmpRuns.py
+++ b/clang/utils/analyzer/CmpRuns.py
@@ -28,7 +28,6 @@ Usage:
import os
import plistlib
-import CmpRuns
# Information about analysis run:
# path - the analysis output directory
OpenPOWER on IntegriCloud