-
Notifications
You must be signed in to change notification settings - Fork 147
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
Ensure EoL at the end of trivia to prevent inlining issues #916
Ensure EoL at the end of trivia to prevent inlining issues #916
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but can you add a test to PreprocessorTests.cpp to cover the problem?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #916 +/- ##
==========================================
+ Coverage 93.75% 93.84% +0.08%
==========================================
Files 190 190
Lines 47784 47925 +141
==========================================
+ Hits 44799 44973 +174
+ Misses 2985 2952 -33
... and 55 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
With patch commented out the unit test fails:
|
This is a fix for the issue described in #914.
Functional evidence:
Before: