- Nov 06, 2013
-
-
Peter Collingbourne authored
These functions can generally be applied to multiple kinds of AST node, so it makes sense to add them to DynTypedNode. Differential Revision: http://llvm-reviews.chandlerc.com/D2096 llvm-svn: 194113
-
Peter Collingbourne authored
The purpose of this function is to allow clients of the dynamic AST matcher to enumerate each binding. Differential Revision: http://llvm-reviews.chandlerc.com/D2095 llvm-svn: 194112
-
Jason Molenda authored
SystemRuntime and SBThread classes. <rdar://problem/15314369> llvm-svn: 194111
-
Rui Ueyama authored
Errors in .drectve section were silently ignored. This patch fixes the issue. llvm-svn: 194110
-
Rafael Espindola authored
One of the uses of the IsValid flag is to support default constructing a ErrorOr that is not a Error or a Value. There is not much value in doing that IMHO. If ErrorOr was to have a default constructor, it should be implemented by default constructing the value, but even that looks unnecessary. The other use is to avoid calling destructors on moved objects. This looks wrong. If the data being moved has non trivial treatment of moves (an std::vector for example), it is its destructor that should handle it, not ~ErrorOr. With this change ErrorOr becomes a fairly simple wrapper and should always be better than using an error_code + value in an API. llvm-svn: 194109
-
Reed Kotler authored
from MipsConstantIslands. llvm-svn: 194108
-
Alexey Samsonov authored
llvm-svn: 194107
-
rdar://problem/15367122Greg Clayton authored
Fixed the test case for "test/functionalities/exec/TestExec.py" on Darwin. The issue was breakpoints were persisting and causing problems. When we exec, we need to clear out the process and target and start fresh with nothing and let the breakpoints populate themselves again. This patch correctly clears out the breakpoints and also flushes the process so that the objects (process/thread/frame) give out valid information. llvm-svn: 194106
-
DeLesley Hutchins authored
on smart pointers. -Wthread-safety-beta only. llvm-svn: 194103
-
- Nov 05, 2013
-
-
Andrew Trick authored
MorphNodeTo is not safe to call during DAG building. It eagerly deletes dependent DAG nodes which invalidates the NodeMap. We could expose a safe interface for morphing nodes, but I don't think it's worth it. Just create a new MachineNode and replaceAllUsesWith. My understaning of the SD design has been that we want to support early target opcode selection. That isn't very well supported, but generally works. It seems reasonable to rely on this feature even if it isn't widely used. llvm-svn: 194102
-
Reed Kotler authored
we don't have such an operand. Suprisingly enough, this is never actually accounted for in the ARM version when determining offset ranges. In both places there is the comment: - // FIXME: Make use full range of soimm values. (soimm = shift operand immediate). llvm-svn: 194101
-
Fariborz Jahanian authored
NS_RETURNS_INNER_POINTER under -objcmt-returns-innerpointer-property flag (off by default), as older compilers do not support such annotations. // rdar://15396636 llvm-svn: 194100
-
Richard Smith authored
checking an expression for constant overflow. llvm-svn: 194099
-
Richard Smith authored
bit more robust against future changes. This includes a slight diagnostic improvement: if we know we're only trying to form a constant expression, take the first diagnostic which shows the expression is not a constant expression, rather than preferring the first one which makes the expression unfoldable. llvm-svn: 194098
-
Rafael Espindola authored
hack of passing -fconst-strings to -cc1, but at least the driver uses the regular warning checking code path. Since we don't support a warning that is DefaultIgnore in one language but not in another, this patch creates a dummy C only warning in the same group as the existing one to get the desired effect. llvm-svn: 194097
-
Reed Kotler authored
alignment will be handled differently than in ARM constant islands. llvm-svn: 194096
-
Rafael Espindola authored
This is a small optimization on linux, but should help more on windows where msvc only outputs one destructor if there would be two identical ones. llvm-svn: 194095
-
Tim Northover authored
Cortex-M0 supports these 32-bit instructions despite being Thumb1 only (mostly). We knew about that but not that the aliases without the default "sy" operand were also permitted. llvm-svn: 194094
-
Dmitri Gribenko authored
Patch by MathOnNapkins llvm-svn: 194093
-
James Dennett authored
another typo in a comment, and update formatting of some comments to use Doxygen \brief annotations instead of repeating the name of the documented entity. llvm-svn: 194092
-
Rafael Espindola authored
They just propagate out the bitcode reader error, so we don't need a new enum. llvm-svn: 194091
-
Daniel Jasper authored
Before, clang-format would always format entire nested blocks, which can be unwanted e.g. for long DEBUG({...}) statements. Also clang-format would not allow to merge lines in nested blocks (e.g. to put "if (a) return;" on one line in Google style). This is the first step of several refactorings mostly focussing on the additional functionality (by reusing the "format many lines" code to format the children of a nested block). The next steps are: * Pull out the line merging into its own class. * Seperate the formatting of many lines from the formatting of a single line (and the analysis of the solution space). llvm-svn: 194090
-
Rui Ueyama authored
llvm-svn: 194089
-
Kaelyn Uhrain authored
Revert this patch until cases of rejected valid code (e.g. identifiers that require ADL to be resolved properly) are fixed. llvm-svn: 194088
-
Jim Ingham authored
<rdar://problem/15390829> llvm-svn: 194087
-
Jiangning Liu authored
llvm-svn: 194086
-
Jiangning Liu authored
llvm-svn: 194085
-
Rafael Espindola authored
llvm-svn: 194084
-
Michael Gottesman authored
[objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail. Due to the previously added overflow checks, we can have a retain/release relation that is one directional. This occurs specifically when we run into an additive overflow causing us to drop state in only one direction. If that occurs, we should bail and not optimize that retain/release instead of asserting. Apologies for the size of the testcase. It is necessary to cause the additive cfg overflow to trigger. rdar://15377890 llvm-svn: 194083
-
Timur Iskhodzhanov authored
llvm-svn: 194082
-
John Thompson authored
llvm-svn: 194081
-
Marshall Clow authored
llvm-svn: 194080
-
John Thompson authored
llvm-svn: 194079
-
Alp Toker authored
This was only working previously due to a quirk in the way lit concatenates script commands. llvm-svn: 194078
-
Benjamin Kramer authored
llvm-svn: 194077
-
Alp Toker authored
Third time's the charm, sorry for the noise. llvm-svn: 194076
-
Peter Zotov authored
Original patch by David Monniaux llvm-svn: 194075
-
Peter Zotov authored
Original patch by David Monniaux llvm-svn: 194074
-
Alp Toker authored
XFAIL wasn't enough for some of the build servers. llvm-svn: 194073
-
Alp Toker authored
Turns out this has always been crashing since the test landed in r186647: Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function CheckAccessDeclContext, file clang/lib/AST/DeclBase.cpp, line 690. Needs attention. llvm-svn: 194072
-