[PATCH] D34272: [Tooling] A new framework for executing clang frontend actions.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 06:03:16 PDT 2017
Sorry about that! I'm fixing these now...
On Thu, Oct 26, 2017 at 2:50 PM Bjorn Pettersson via Phabricator <
reviews at reviews.llvm.org> wrote:
> bjope added a comment.
>
> I get errors when compiling due to this commit:
>
> FAILED:
> tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/StandaloneExecution.cpp.o
> /repo/app/clang/3.6/bin/clang++ -march=corei7 -DGTEST_HAS_RTTI=0
> -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS -Itools/clang/lib/Tooling
> -I../tools/clang/lib/Tooling -I../tools/clang/include -Itools/clang/include
> -Iinclude -I../include -I/repo/app/valgrind/3.11.0/include -fPIC
> -fvisibility-inlines-hidden -Werror -Werror=date-time -std=c++11 -Wall -W
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
> -Wmissing-field-initializers -pedantic -Wno-long-long
> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
> -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections
> -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -UNDEBUG
> -fno-exceptions -fno-rtti -MMD -MT
> tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/StandaloneExecution.cpp.o
> -MF
> tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/StandaloneExecution.cpp.o.d
> -o
> tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/StandaloneExecution.cpp.o
> -c ../tools/clang/lib/Tooling/StandaloneExecution.cpp
> ../tools/clang/lib/Tooling/StandaloneExecution.cpp:65:11: error: unused
> variable 'Ret' [-Werror,-Wunused-variable]
> if (int Ret = Tool.run(Action.first.get()))
> ^
> 1 error generated.
>
>
> Repository:
> rL LLVM
>
> https://reviews.llvm.org/D34272
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171026/00351e25/attachment.html>
More information about the cfe-commits
mailing list