Skip to content
Snippets Groups Projects
Commit 4970102d authored by Axel Naumann's avatar Axel Naumann
Browse files

Style.

parent 5d9b6e3d
Branches
Tags
No related merge requests found
......@@ -107,8 +107,8 @@ namespace {
}
class FilteringDiagConsumer: public ForwardingDiagnosticConsumer {
std::stack<bool> fIgnorePromptDiags;
std::unique_ptr<DiagnosticConsumer> fOwnedTarget;
std::stack<bool> fIgnorePromptDiags;
void SyncDiagCountWithTarget() {
NumWarnings = fOwnedTarget->getNumWarnings();
......@@ -117,7 +117,7 @@ namespace {
public:
FilteringDiagConsumer(std::unique_ptr<DiagnosticConsumer>&& Target):
ForwardingDiagnosticConsumer(*Target.get()),
ForwardingDiagnosticConsumer(*Target),
fOwnedTarget(std::move(Target)) {}
void BeginSourceFile(const LangOptions &LangOpts,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment