This is an archive of the discontinued LLVM Phabricator instance.

Regression for assertion in ActOnFinishFunctionBody
Needs ReviewPublic

Authored by azat on Mar 19 2015, 12:14 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is the regression for the next assert after fatal error:
clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool):
Assertion `MaybeODRUseExprs.empty() && "Leftover expressions for odr-use checking"' failed.

After DiagnosticsEngine::{Reset(),setIgnoreAllWarnings()}, using ASTConsumer

Diff Detail

Event Timeline

azat updated this revision to Diff 22292.Mar 19 2015, 12:14 PM
azat retitled this revision from to Regression for assertion in ActOnFinishFunctionBody.
azat updated this object.
azat edited the test plan for this revision. (Show Details)