Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for compile errors in parsed source file. #454

Merged
merged 2 commits into from
Oct 18, 2018

Conversation

jbcoe
Copy link
Collaborator

@jbcoe jbcoe commented Oct 17, 2018

What does this PR do?

Causes cppmodel to fail if the parsed file contains errors.

Closes [github issues]

#453

Possible future work

More work is needed to fail for compile errors in transitively included headers. (Causes test failures on macOS) #458

More work is needed to fail for compile errors in transitively included headers.
@@ -142,7 +142,7 @@ def test_class_member_data():
class A {};
class B {
int x_;
B b_;
A a_;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this just an error before?

Copy link
Member

@ajbennieston ajbennieston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm Andrew, and I approve this message.

@ajbennieston ajbennieston merged commit 1bc1480 into master Oct 18, 2018
@ajbennieston ajbennieston deleted the dev-jbcoe-clang-diagnostics branch October 18, 2018 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants