From 25b51d06991ee3b60a24ba5d303973794401d527 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 21 Sep 2008 19:08:54 +0000 Subject: [PATCH] scan-view: Add more information to default bug description and use iframe to embed bug view (for easy reference). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56406 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-view/ScanView.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tools/scan-view/ScanView.py b/tools/scan-view/ScanView.py index b001973f71..41e5a51392 100644 --- a/tools/scan-view/ScanView.py +++ b/tools/scan-view/ScanView.py @@ -238,9 +238,16 @@ Submission in progress."""%locals() return self.send_internal_error('Invalid report.') initialTitle = keys.get('DESC','') - initialDescription = 'Bug generated by the clang static analyzer.' + initialDescription = """\ +Bug generated by the clang static analyzer. + +Description: %s +File: %s +Line: %s +"""%(initialTitle, + keys.get('FILE',''), + keys.get('LINE','')) - keysAndValues = '\n'.join(['%s: %s
'%(k,v) for k,v in keys.items()]) reporterSelections = [] reporterOptions = [] @@ -276,7 +283,6 @@ function updateReporterOptions() {

File Report

-%(keysAndValues)s
Title: @@ -295,6 +301,12 @@ Method:
+ + + """%locals() return self.send_string(result) -- 2.40.0