forked from OSchip/llvm-project
parent
757a1fae34
commit
9e3818af26
|
@ -1813,13 +1813,13 @@ Diag("Using '$Clang' for static analysis\n");
|
|||
SetHtmlEnv(\@ARGV, $Options{OutputDir});
|
||||
|
||||
my @AnalysesToRun;
|
||||
foreach (sort { $Options{EnableCheckers}{$a} <=> $Options{EnableCheckers}{$b} }
|
||||
keys %{$Options{EnableCheckers}}) {
|
||||
foreach (sort { $Options{EnableCheckers}{$a} <=> $Options{EnableCheckers}{$b} }
|
||||
keys %{$Options{EnableCheckers}}) {
|
||||
# Push checkers in order they were enabled.
|
||||
push @AnalysesToRun, "-analyzer-checker", $_;
|
||||
}
|
||||
foreach (sort { $Options{DisableCheckers}{$a} <=> $Options{DisableCheckers}{$b} }
|
||||
keys %{$Options{DisableCheckers}}) {
|
||||
foreach (sort { $Options{DisableCheckers}{$a} <=> $Options{DisableCheckers}{$b} }
|
||||
keys %{$Options{DisableCheckers}}) {
|
||||
# Push checkers in order they were disabled.
|
||||
push @AnalysesToRun, "-analyzer-disable-checker", $_;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue