This patch extends the tracking for used but undefined functions and
variables with internal linkage to also apply to inline functions.
Sema::UndefinedInternals is renamed Sema::UndefinedButUsed.

Fixes PR14993. Please review! Please pay particular attention to the
behaviour of the error under C99 and GNU89 modes.

Also, there's a comment that these should be errors. That turned out to not
be entirely trivial due to some codegen tests, so it's left out of this
patch.

Nick

Attachment: undefined-but-used-1.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to