- Jun 18, 2013
-
-
Nadav Rotem authored
llvm-svn: 184228
-
Michael Gottesman authored
[multiprecision-builtins] Added missing builtin __builtin_{add,sub}cb for {add,sub} with carry for bytes. I have had several people ask me about why this builtin was not available in clang (since it seems like a logical conclusion). This patch implements said builtins. Relevant tests are included as well. I also updated the Clang language extension reference. rdar://14192664. llvm-svn: 184227
-
Jim Ingham authored
llvm-svn: 184226
-
Stephen Lin authored
llvm-svn: 184225
-
Kevin Enderby authored
"When assembling to the ARM instruction set, the .N qualifier produces an assembler error and the .W qualifier has no effect." In the pre-matcher handler in the asm parser the ".w" (wide) qualifier when in ARM mode is now discarded. And an error message is now produced when the ".n" (narrow) qualifier is used in ARM mode. Test cases for these were added. rdar://14064574 llvm-svn: 184224
-
Richard Smith authored
namespaces, by treating them just like we treat extern "C" declarations in function scope. llvm-svn: 184223
-
Quentin Colombet authored
value is zero. This allows optmizations to kick in more easily. Fix some test cases so that they remain meaningful (i.e., not completely dead coded) when optimizations apply. <rdar://problem/14096009> superfluous multiply by high part of zero-extended value. llvm-svn: 184222
-
John Thompson authored
llvm-svn: 184221
-
Jack Carter authored
When producing objects that are abi compliant we are marking neither the object file nor the assembly file correctly and thus generate warnings. We need to set the EF_CPIC flag in the ELF header when generating direct object. Note that the warning is only generated when compiling without PIC. When compiling with clang the warning will be suppressed by supplying: -Wa,-mno-shared -Wa,-call_nonpic Also the following directive should also be added: .option pic0 when compiling without PIC, This eliminates the need for supplying: -mno-shared -call_nonpic on the assembler command line. Patch by Douglas Gilmore llvm-svn: 184220
-
Rafael Espindola authored
llvm-svn: 184219
-
Rafael Espindola authored
llvm-svn: 184218
-
Rafael Espindola authored
llvm-svn: 184217
-
Adrian Prantl authored
llvm-svn: 184216
-
rdar://problem/12717717Enrico Granata authored
Modifying our data formatters matching algorithm to ensure that "const X*" is treated as equivalent to "X*" Also, a couple improvements to the "lldb types" logging llvm-svn: 184215
-
Eli Friedman authored
whether to emit a -Wformat-security warning. <rdar://problem/14178260>. llvm-svn: 184214
-
David Blaikie authored
llvm-svn: 184213
-
Enrico Granata authored
e.g. (lldb) pl<TAB> Available completions: platform plugin platform plugin Thanks to Matthew Sorrels for doing work and testing on this issue llvm-svn: 184212
-
Richard Smith authored
constructor that does not initialize all members, and that constructor is used to initialize a global. llvm-svn: 184211
-
Rafael Espindola authored
llvm-svn: 184210
-
Enrico Granata authored
This is in a separate project now so this duplication is unnecessary and some referenced files were also dangling after a rename llvm-svn: 184209
-
Fariborz Jahanian authored
selector would be correted to identical selector name in certain corner cases. // rdar://7853549 llvm-svn: 184208
-
Stefanus Du Toit authored
For decoding, keep the current behavior of always decoding these as their REP versions. In the future, this could be improved to recognize the cases where these behave as XACQUIRE and XRELEASE and decode them as such. llvm-svn: 184207
-
Rafael Espindola authored
llvm-svn: 184206
-
Stephen Lin authored
CodeGen: Have 'this'-returning constructors and destructors to take advantage of the new backend 'returned' attribute. The backend will now use the generic 'returned' attribute to form tail calls where possible, as well as avoid save-restores of 'this' in some cases (specifically the cases that matter for the ARM C++ ABI). This patch also reverts a prior front-end only partial implementation of these optimizations, since it's no longer required. llvm-svn: 184205
-
Rafael Espindola authored
llvm-svn: 184204
-
Rafael Espindola authored
llvm-svn: 184203
-
Rafael Espindola authored
llvm-svn: 184202
-
Nadav Rotem authored
llvm-svn: 184201
-
Nadav Rotem authored
llvm-svn: 184200
-
Fariborz Jahanian authored
llvm-svn: 184199
-
Rafael Espindola authored
llvm-svn: 184198
-
Edwin Vane authored
Transforms will now make changes to headers if header modifications have been enabled. FIXME: Only UseNullptr contains a cursory header modification test. Other transforms should have them too. llvm-svn: 184197
-
Rafael Espindola authored
llvm-svn: 184196
-
Fariborz Jahanian authored
in addition of receiver having static type, but also when receiver has dynamic type (of 'id' variety) as well as when receiver is of 'Class' type vareity. // rdar://7853549 llvm-svn: 184195
-
Edwin Vane authored
To make it possible for replacements made to headers as part of transforming one translation unit to not be visible to the transform of other translation units, Transform now handles replacement application as part of its end-of-source handling. Several things were simplified as a result: - The duplicated code in every transform for applying replacements is now gone and replaced with one location in Transform. - RefactoringTool is no longer used since Transform houses the Replacements structure. - RewriterContainer is now a private implementation detail of Transform (also renamed to RewriterManager since its behaviour is slightly different now with respect to lifetime of objects). - There's now no distinction between input and output file state. Misc notes: - Interface changes reflected in unit tests. - Replacements for files other than the main file are assumed to be for headers and stored as such. llvm-svn: 184194
-
Rafael Espindola authored
llvm-svn: 184193
-
Reid Kleckner authored
The CMake build was still using it because I forgot to s/CLANG/LLVM/ in the tablegen() call. The Makefile build is already using llvm-tblgen. llvm-svn: 184192
-
Alexey Samsonov authored
llvm-svn: 184191
-
Kostya Serebryany authored
llvm-svn: 184190
-
Sergey Matveev authored
llvm-svn: 184189
-