The inline attribute is not valid for C standard 89. Replace the argument in the generation of header files with __inline, as well adding tests for both header files.
Details
Details
Diff Detail
Diff Detail
Event Timeline
cfe/trunk/utils/TableGen/NeonEmitter.cpp | ||
---|---|---|
2412 ↗ | (On Diff #164043) | Sorry, I don't get the suggestion. Do you mean test if it is C89 and use __inline, else, use inline? |
Comment Actions
These new changes look good to me.
If you are updating things like this, it's often better to create a new Phab review so it's easier to see it's a new thing (or, in cases like this where the changes are simple and just test updates, they often don't need review). Either way, LGTM. Thanks for the test fix.
cfe/trunk/utils/TableGen/NeonEmitter.cpp | ||
---|---|---|
2412 ↗ | (On Diff #164043) | I think the suggestion was unintentionally rendered as an underline by phab; and was supposed to be __inline__ |