- Dec 12, 2013
-
-
Mark Seaborn authored
llvm-svn: 197180
-
Alp Toker authored
Type trait parsing is all over the place at the moment with unary, binary and n-ary C++11 type traits that were developed independently at different points in clang's history. There's no good reason to handle them separately -- there are three parsers, three AST nodes and lots of duplicated handling code with slightly different implementations and diags for each kind. This commit unifies parsing of type traits and sets the stage for further consolidation. No change in behaviour other than more consistent error recovery. llvm-svn: 197179
-
Hal Finkel authored
GlobalOpt's CleanupConstantGlobalUsers function uses a worklist array to manage constant users to be visited. The pointers in this array need to be weak handles because when we delete a constant array, we may also be holding a pointer to one of its elements (or an element of one of its elements if we're dealing with an array of arrays) in the worklist. Fixes PR17347. llvm-svn: 197178
-
Hal Finkel authored
The barrier pass is a temporary hack, and should go away soon. Nevertheless, if we don't initialize it, then opt will not understand -barrier, and this will break bugpoint (because when it dumps the passes from the default pass manager -barrier will be there). llvm-svn: 197177
-
Yaron Keren authored
of MinGW older than 4.7 with incompatible C++ libraries. This patch makes clang look for all MinGW versions from 4.7: 4.7.0, 4.7.1, 4.7.2, 4.7.3 4.8.0, 4.8.1, 4.8.2. llvm-svn: 197176
-
Yuchen Wu authored
More comprehensive llvm-cov tests were added to tools/llvm-cov. llvm-svn: 197175
-
Ed Maste authored
test_convenience_registers_16bit_with_process_attach fails due to pr18200. The test has a @expectedFailureFreeBSD decorator, but it appears this does not catch a RuntimError exception raised in the test infrastructure, so the test still reports failure. For now just skip it. llvm-svn: 197174
-
Jean-Daniel Dupas authored
CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2394 llvm-svn: 197173
-
Rafael Espindola authored
No functionality change. Reviewed by Tim Northover. llvm-svn: 197172
-
Greg Clayton authored
<rdar://problem/15600471> llvm-svn: 197171
-
Rafael Espindola authored
Reviewed by Richard Sandiford. llvm-svn: 197170
-
Rafael Espindola authored
It means exactly the same and is just a bit shorter. llvm-svn: 197169
-
Rafael Espindola authored
llvm-svn: 197168
-
Rafael Espindola authored
On Assert builds the "call" was matching the variable name in %call = call ... llvm-svn: 197167
-
Rafael Espindola authored
llvm-svn: 197166
-
Argyrios Kyrtzidis authored
Fixes rdar://15644663. llvm-svn: 197165
-
Rafael Espindola authored
GCC 4.7 changed the MingW ABI. On the clang side this means that methods now have the thiscall calling convention by default. llvm-svn: 197164
-
Rafael Espindola authored
GCC 4.7 changed the MingW ABI. On the LLVM side it means that sret functions don't pop the stack. llvm-svn: 197163
-
Rafael Espindola authored
llvm-svn: 197160
-
Chad Rosier authored
- Copy patterns with float/double types are enough. - Fix typos in test case names that were using v1fx. - There is no ACLE intrinsic that uses v1f32 type. And there is no conflict of neon and non-neon ovelapped operations with this type, so there is no need to support operations with this type. - Remove v1f32 from FPR32 register and disallow v1f32 as a legal type for operations. Patch by Ana Pazos! llvm-svn: 197159
-
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
-