Sometimes when I pass the mentioned option I forget about passing the parameter list for c++ sources.
It would be also useful newcomers to learn about this.
This patch introduces some logic checking common misuses involving -analyze-function.
Differential D118690
[analyzer] Prevent misuses of -analyze-function steakhal on Feb 1 2022, 3:20 AM. Authored by
Details Sometimes when I pass the mentioned option I forget about passing the parameter list for c++ sources. This patch introduces some logic checking common misuses involving -analyze-function.
Diff Detail
Event TimelineComment Actions Very good! If we had this earlier it could have saved me some frustrating debugging.
Comment Actions Nice quality-of-life improvement!
Comment Actions Thanks for the reviews
Comment Actions It broke some bots. I had to revert it in minutes it landed. Yet to be investigated how did it break something. Comment Actions Can you post a link to a specific buildbot failure so that we could look at it together? Comment Actions I've decided to remove the offending RUN lines. |
Every top-level function was skipped