[lld] r273426 - [ELF] - Show explicit error if extern keyword is used in version script.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 00:21:58 PDT 2016


>>Also, when you find an error, you want to return after setError because setError is not a _Noreturn function.

>
>I know.
>No need to place one more explicit return , because line above checks for that and return:
>
>if (Cur == "}" || Cur == "local:" || Error)?
>return;

line *below* I mean.

George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160623/5acec9b8/attachment.html>


More information about the llvm-commits mailing list