HomePhabricator

Fix a unittest file after D108695 when Z3 is enabled

Authored by Szelethus on Tue, Sep 14, 7:10 AM.

Description

Fix a unittest file after D108695 when Z3 is enabled

Details

Committed
SzelethusTue, Sep 14, 7:11 AM
Parents
rG8401713b3ef1: [clangd] Ignore ObjC `id` and `instancetype` in FindTarget
Branches
Unknown
Tags
Unknown

Event Timeline

A few nits here and there. But I don't mind this even in its current form.

/clang/unittests/StaticAnalyzer/CheckerRegistration.h
86

const

96–101
AnalysisConsumer->AddDiagnosticConsumer(
    OnlyEmitWarnings
    ? new OnlyWarningsDiagConsumer(DiagsOutput)
    : new PathDiagConsumer(DiagsOutput)
);

Hm, I see why you don't want to pass this bool via NTTP even if it is available at compile time in all cases. Okay.