[all-commits] [llvm/llvm-project] fe1a3a: [analyzer] Change the default output type to PD_TE...
Kristóf Umann via All-commits
all-commits at lists.llvm.org
Tue May 19 16:37:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fe1a3a7e8c8be33968b9a768666489823dabab10
https://github.com/llvm/llvm-project/commit/fe1a3a7e8c8be33968b9a768666489823dabab10
Author: Kirstóf Umann <dkszelethus at gmail.com>
Date: 2020-05-20 (Wed, 20 May 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
M clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
M clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
A clang/test/Analysis/output_types.cpp
Log Message:
-----------
[analyzer] Change the default output type to PD_TEXT_MINIMAL in the frontend, error if an output loc is missing for PathDiagConsumers that need it
The title and the included test file sums everything up -- the only thing I'm
mildly afraid of is whether anyone actually depends on the weird behavior of
HTMLDiagnostics pretending to be TextDiagnostics if an output directory is not
supplied. If it is, I guess we would need to resort to tiptoeing around the
compatibility flag.
Differential Revision: https://reviews.llvm.org/D76510
More information about the All-commits
mailing list