- Dec 12, 2013
-
-
Rafael Espindola authored
llvm-svn: 197158
-
Rafael Espindola authored
llvm-svn: 197157
-
Evgeniy Stepanov authored
llvm-svn: 197156
-
Sylvestre Ledru authored
sin_len is not available in the structure sockaddr_in under GNU/Linux. Fix the build failure. Patch by Todd Fiala (and many other who proposed similar patches) llvm-svn: 197155
-
Bernard Ogden authored
llvm-svn: 197154
-
Bernard Ogden authored
getARMCPU and getLLVMArchSuffixForARM existed as very similar functions in both ToolChain.cpp and Tools.cpp. Create a single implementation of each in Tools.cpp, eliminate the duplicate and share via Tools.h. Creates an 'arm' namespace in Tools.h to be used by any ARM-targetting tools. llvm-svn: 197153
-
Bernard Ogden authored
llvm-svn: 197152
-
Bernard Ogden authored
Passing -mthumb with no explicit CPU on the command line resulted in target CPU changing from the architecture default to arm7tdmi. Now it does not. llvm-svn: 197151
-
Alp Toker authored
Thanks to Jonathan Sauer for providing initial test cases. Fixes PR16093 and PR18147. llvm-svn: 197150
-
Chandler Carruth authored
llvm-svn: 197149
-
Tim Northover authored
This refactors some of the Darwin toolchain classification to give a more solid distinction between the three primary Darwin platforms (OS X, IOS and IOS simulator) so that a 4th choice can be added temporarily: embedded MachO targets. Longer term, this support will be factored out into a separate class and no longer classified as "darwin-eabi", but the refactoring should still be useful. llvm-svn: 197148
-
Jean-Daniel Dupas authored
llvm-svn: 197147
-
Tim Northover authored
The tests were failing on OS X. llvm-svn: 197146
-
Andrea Di Biagio authored
a vector packed single/double fp operation followed by a vector insert. The effect is that the backend coverts the packed fp instruction followed by a vectro insert into a SSE or AVX scalar fp instruction. For example, given the following code: __m128 foo(__m128 A, __m128 B) { __m128 C = A + B; return (__m128) {c[0], a[1], a[2], a[3]}; } previously we generated: addps %xmm0, %xmm1 movss %xmm1, %xmm0 we now generate: addss %xmm1, %xmm0 llvm-svn: 197145
-
Richard Barton authored
llvm-svn: 197144
-
Timur Iskhodzhanov authored
llvm-svn: 197143
-
Alexander Kornienko authored
llvm-svn: 197142
-
Alexander Kornienko authored
llvm-svn: 197141
-
Rui Ueyama authored
The file currently has only one function. Function that is useful both for IdataPass and EdataPass will be added to that file. llvm-svn: 197140
-
Alexander Kornienko authored
Summary: Leave only -help, -version and options from the specified category. Updated clang-check and clang-tidy. As clang-tidy is in a separate repository, here's the diff: Index: tools/extra/clang-tidy/tool/ClangTidyMain.cpp =================================================================== --- tools/extra/clang-tidy/tool/ClangTidyMain.cpp (revision 197024) +++ tools/extra/clang-tidy/tool/ClangTidyMain.cpp (working copy) @@ -39,7 +39,7 @@ // FIXME: Add option to list name/description of all checks. int main(int argc, const char **argv) { - CommonOptionsParser OptionsParser(argc, argv); + CommonOptionsParser OptionsParser(argc, argv, ClangTidyCategory); SmallVector<clang::tidy::ClangTidyError, 16> Errors; clang::tidy::runClangTidy(Checks, OptionsParser.getCompilations(), Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, revane, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2379 llvm-svn: 197139
-
Alexander Kornienko authored
Summary: Added BraceBreakingStyle::BS_GNU. I'm not sure about the correctness of static initializer formatting, but compound statements should be fine. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2372 llvm-svn: 197138
-
Rui Ueyama authored
DLLNameAtom is an atom whose content is a string. IdataAtom is not going to be the only place we need such atom, so I want to generalize it. llvm-svn: 197137
-
Gabor Greif authored
llvm-svn: 197136
-
Hao Liu authored
[AArch64]Fix the problem that AArch64 backend fails to select scalar_to_vector of vector types having more than one element. llvm-svn: 197135
-
Rui Ueyama authored
I'm planning to create a new pass for the DLL export table, and I want to use the class both from IdataPass and the new pass, EdataPass. So move the class to a common place. llvm-svn: 197132
-
NAKAMURA Takumi authored
llvm-svn: 197129
-
Ted Kremenek authored
llvm-svn: 197128
-
Richard Smith authored
conversion on the LHS of a .* or ->*. Slightly improve diagnostics in case of an ambiguous base class. llvm-svn: 197125
-
Alp Toker authored
Somewhat counterintuitively the first arg in gtest is treated as the expectation. No change to the tests themselves. llvm-svn: 197124
-
Rui Ueyama authored
llvm-svn: 197123
-
Rui Ueyama authored
/DLLEXPORT is a command line option to export a symbol. __declspec(dllexport) uses that to make the linker to export DLLExport'ed functions, by adding the option to .drectve section. This patch implements the parser of the command line option. llvm-svn: 197122
-
Alp Toker authored
The old AddFixedStringToRegEx() it was based on got away with this for the longest time, but the problem became easy to spot after the cleanup in r197096. Also add a quick unit test to cover regex escaping. llvm-svn: 197121
-
Richard Smith authored
Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here. llvm-svn: 197120
-
Reed Kotler authored
I don't know why this did not show up earlier. This code has been around for ages. llvm-svn: 197119
-
Hans Wennborg authored
llvm-svn: 197116
-
NAKAMURA Takumi authored
llvm-svn: 197114
-
Kevin Qin authored
In regular expression, [0-31]+ equals to [0-3]+, not the number from 0 to 31. So change it to [0-9]+. llvm-svn: 197113
-
Kevin Qin authored
In regular expression, [0-31]+ equals to [0-3]+, not the number from 0 to 31. So change it to [0-9]+. llvm-svn: 197112
-
Hans Wennborg authored
with the edit entries, instead of applying the changes" (And also revert the follow-up r197086.) This seems to have broken Linux builds, which were failing with the following: /build/buildbot/osu8/clang-x86_64-linux-selfhost-rel/llvm.obj/Release+Asserts/lib/libclang.so: error: undefined reference to 'clang::ento::objc_retain::CallEffects::getEffect(clang::ObjCMethodDecl const*)' /build/buildbot/osu8/clang-x86_64-linux-selfhost-rel/llvm.obj/Release+Asserts/lib/libclang.so: error: undefined reference to 'clang::ento::objc_retain::CallEffects::getEffect(clang::FunctionDecl const*)' collect2: error: ld returned 1 exit status llvm-svn: 197111
-
Aaron Ballman authored
llvm-svn: 197110
-