[PATCH] Fix gcc warning in gold-plugin.cpp
Rafael Avila de Espindola
rafael.espindola at gmail.com
Sun Sep 21 06:46:16 PDT 2014
LGTM
Sent from my iPhone
> On Sep 21, 2014, at 03:26, Markus Trippelsdorf <markus at trippelsdorf.de> wrote:
>
> Hi rafael,
>
> gcc currently warns:
>
> [2/3] Building CXX object tools/gold/CMakeFiles/LLVMgold.dir/gold-plugin.cpp.o
> /var/tmp/llvm-project/llvm/tools/gold/gold-plugin.cpp: In function ‘const char* getResolutionName(ld_plugin_symbol_resolution)’:
> /var/tmp/llvm-project/llvm/tools/gold/gold-plugin.cpp:489:1: warning: control reaches end of non-void function [-Wreturn-type]
> }
> ^
>
> http://reviews.llvm.org/D5427
>
> Files:
> tools/gold/gold-plugin.cpp
> <D5427.13906.patch>
More information about the llvm-commits
mailing list