diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-01-23 19:28:52 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-01-23 19:28:52 +0000 |
commit | 4a190fe62f58eeaa9b996665e27b4d8898b140a7 (patch) | |
tree | d9e05be5794a782fb50682ae986cbd6b7b5fb06b /clang/lib/Rewrite | |
parent | 7c540debf27e725a6f50b88264b8f682827670e7 (diff) | |
download | bcm5719-llvm-4a190fe62f58eeaa9b996665e27b4d8898b140a7.tar.gz bcm5719-llvm-4a190fe62f58eeaa9b996665e27b4d8898b140a7.zip |
[analyzer] Show full analyzer invocation for reproducibility in HTML reports
Analyzing problems which appear in scan-build results can be very
difficult, as after the launch no exact invocation is stored, and it's
super-hard to launch the debugger.
With this patch, the exact analyzer invocation appears in the footer,
and can be copied to debug/check reproducibility/etc.
rdar://35980230
llvm-svn: 323245
Diffstat (limited to 'clang/lib/Rewrite')
-rw-r--r-- | clang/lib/Rewrite/HTMLRewrite.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/clang/lib/Rewrite/HTMLRewrite.cpp b/clang/lib/Rewrite/HTMLRewrite.cpp index 9d0ed2b46ab..3a086537b4a 100644 --- a/clang/lib/Rewrite/HTMLRewrite.cpp +++ b/clang/lib/Rewrite/HTMLRewrite.cpp @@ -387,6 +387,26 @@ td.rowname { color:#444444; padding-right:2ex; } + +/* Hidden text. */ +input.spoilerhider + label { + cursor: pointer; + text-decoration: underline; + display: block; +} +input.spoilerhider { + display: none; +} +input.spoilerhider ~ .spoiler { + overflow: hidden; + margin: 10px auto 0; + height: 0; + opacity: 0; +} +input.spoilerhider:checked + label + .spoiler{ + height: auto; + opacity: 1; +} </style> </head> <body>)<<<"; |