diff options
author | Laszlo Nagy <rizsotto.mailinglist@gmail.com> | 2017-01-29 04:59:32 +0000 |
---|---|---|
committer | Laszlo Nagy <rizsotto.mailinglist@gmail.com> | 2017-01-29 04:59:32 +0000 |
commit | 3a556111b9e40aa68f8f9dbb4309b4179b7a7fe2 (patch) | |
tree | 904127a35791410ffd082f313d11e90558fd18b3 /clang/tools/scan-build-py | |
parent | 10b6147e2303f1e331cdc2ca83a3a8e7c6b97434 (diff) | |
download | bcm5719-llvm-3a556111b9e40aa68f8f9dbb4309b4179b7a7fe2.tar.gz bcm5719-llvm-3a556111b9e40aa68f8f9dbb4309b4179b7a7fe2.zip |
[scan-build-py] remove not used flag
llvm-svn: 293418
Diffstat (limited to 'clang/tools/scan-build-py')
-rw-r--r-- | clang/tools/scan-build-py/libscanbuild/intercept.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/clang/tools/scan-build-py/libscanbuild/intercept.py b/clang/tools/scan-build-py/libscanbuild/intercept.py index 2aef79fe581..17fbc0951e4 100644 --- a/clang/tools/scan-build-py/libscanbuild/intercept.py +++ b/clang/tools/scan-build-py/libscanbuild/intercept.py @@ -102,11 +102,8 @@ def capture(args, bin_dir): exec_traces = itertools.chain.from_iterable( parse_exec_trace(os.path.join(tmp_dir, filename)) for filename in sorted(glob.iglob(os.path.join(tmp_dir, '*.cmd')))) - # do post processing only if that was requested - if 'raw_entries' not in args or not args.raw_entries: - entries = post_processing(exec_traces) - else: - entries = exec_traces + # do post processing + entries = post_processing(exec_traces) # dump the compilation database with open(args.cdb, 'w+') as handle: json.dump(list(entries), handle, sort_keys=True, indent=4) @@ -293,13 +290,6 @@ def create_parser(): '--append', action='store_true', help="""Append new entries to existing compilation database.""") - group.add_argument( - '--disable-filter', '-n', - dest='raw_entries', - action='store_true', - help="""Intercepted child process creation calls (exec calls) are all - logged to the output. The output is not a compilation database. - This flag is for debug purposes.""") advanced = parser.add_argument_group('advanced options') advanced.add_argument( |