- Jun 07, 2012
-
-
Nick Kledzik authored
llvm-svn: 158133
-
Jordan Rose authored
Before, the note showed the location where you could insert __bridge variants, but the actual fixit edit came after the cast. No functionality change. llvm-svn: 158131
-
Jordan Rose authored
This was a problem for people who write 'return(result);' Also fix ARCMT's corresponding code, though there's no test case for this because implicit casts like this are rejected by the migrator for being ambiguous, and explicit casts have no problem. <rdar://problem/11577346> llvm-svn: 158130
-
Meador Inge authored
llvm-svn: 158128
-
Argyrios Kyrtzidis authored
automatically insert a __bridge cast. radar://11560638 llvm-svn: 158127
-
Manman Ren authored
This patch will optimize the following movq %rdi, %rax subq %rsi, %rax cmovsq %rsi, %rdi movq %rdi, %rax to cmpq %rsi, %rdi cmovsq %rsi, %rdi movq %rdi, %rax Perform this optimization if the actual result of SUB is not used. rdar: 11540023 llvm-svn: 158126
-
rdar://problem/11538779Enrico Granata authored
<rdar://problem/11538779> Fixing issues where Python scripts were not able to read user input and/or display output to the user in certain situations - This fix introduces a Python InputReader manager class that mimics the behavior of the interactive interpreter in terms of access to I/O and ensures access to the input and output flows llvm-svn: 158124
-
Bill Wendling authored
llvm-svn: 158123
-
Manman Ren authored
The commit is intended to fix rdar://11540023. It is implemented as part of peephole optimization. We can actually implement this in the SelectionDAG lowering phase. llvm-svn: 158122
-
Bill Wendling authored
<rdar://problem/10889741> llvm-svn: 158121
-
Michael J. Spencer authored
llvm-svn: 158120
-
Fariborz Jahanian authored
llvm-svn: 158119
-
Fariborz Jahanian authored
to emit vla size to prevent an irgen crash. // rdar://11485774 llvm-svn: 158117
-
Jakob Stoklund Olesen authored
Bundles should be treated as one atomic transaction when checking liveness. That is how the register allocator (and VLIW targets) treats bundles. llvm-svn: 158116
-
Argyrios Kyrtzidis authored
llvm-svn: 158115
-
Argyrios Kyrtzidis authored
since the change from +1 to +0 will be handled fine by ARC. rdar://11606358 llvm-svn: 158114
-
- Jun 06, 2012
-
-
Manuel Klimek authored
llvm-svn: 158113
-
Manuel Klimek authored
Now the ToolingTests all work on Windows, and they also clean up their temporary directory if they don't crash. llvm-svn: 158112
-
Douglas Gregor authored
where '>' is going to behave as an operator (and not as a '>' closing a template argument list). llvm-svn: 158111
-
Kaelyn Uhrain authored
are otherwise too short to try to correct. The TODOs added to two of the tests are for existing deficiencies in the typo correction code that could be exposed by using longer identifiers. llvm-svn: 158109
-
Sean Callanan authored
that forces all matches to be looked up. When --all is not passed, and the current execution frame can be used to narrow down the search, "target modules lookup" will try searching in that specific frame first. Only if nothing is turned up there will it go on to search all modules. This feature is currently enabled only for types. llvm-svn: 158107
-
Jordan Rose authored
Patch by Guillem Marpons! llvm-svn: 158106
-
Jordan Rose authored
llvm-svn: 158105
-
David Blaikie authored
In addition, I've made the pointer and reference typedef 'void' rather than T* just so they can't get misused. I would've omitted them entirely but std::distance likes them to be there even if it doesn't use them. This rolls back r155808 and r155869. Review by Doug Gregor incorporating feedback from Chandler Carruth. llvm-svn: 158104
-
Benjamin Kramer authored
LLVM should be -Wunused-private-field clean now. llvm-svn: 158103
-
Andrew Trick authored
Allow targets to access this API. It's required for RegisterPressure. llvm-svn: 158102
-
Benjamin Kramer authored
llvm-svn: 158101
-
Benjamin Kramer authored
llvm-svn: 158100
-
Andrew Trick authored
Make it a general utility for use by Targets. llvm-svn: 158097
-
Benjamin Kramer authored
LLVM is now -Wunused-private-field clean except for - lib/MC/MCDisassembler/Disassembler.h. Not sure why it keeps all those unaccessible fields. - gtest. llvm-svn: 158096
-
Johnny Chen authored
llvm-svn: 158095
-
David Blaikie authored
Add a -rewrite-includes option, which is similar to -rewrite-macros, but only expands #include directives. Patch contributed by Lubos Lunak (l.lunax@suse.cz). Review by Matt Beaumont-Gay (matthewbg@google.com). llvm-svn: 158093
-
Jim Ingham authored
llvm-svn: 158092
-
David Blaikie authored
llvm-svn: 158091
-
Benjamin Kramer authored
There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. llvm-svn: 158090
-
Manuel Klimek authored
llvm-svn: 158088
-
Chad Rosier authored
X86. rdar://11496434 llvm-svn: 158087
-
Benjamin Kramer authored
llvm-svn: 158086
-
Jordan Rose authored
In standard C since C89, a 'translation-unit' is syntactically defined to have at least one "external-declaration", which is either a decl or a function definition. In Clang the latter gives us a declaration as well. The tricky bit about this warning is that our predefines can contain external declarations (__builtin_va_list and the 128-bit integer types). Therefore our AST parser now makes sure we have at least one declaration that doesn't come from the predefines buffer. Also, remove bogus warning about empty source files. This doesn't catch source files that only contain comments, and never fired anyway because of our predefines. PR12665 and <rdar://problem/9165548> llvm-svn: 158085
-
Chad Rosier authored
matter. rdar://11579835 llvm-svn: 158084
-