- Sep 06, 2013
-
-
Rui Ueyama authored
llvm-svn: 190121
-
Rui Ueyama authored
llvm-svn: 190120
-
Rui Ueyama authored
llvm-svn: 190119
-
Eli Friedman authored
This expands very slightly what -Wtautological-compare considers to be tautological to include implicit accesses to C++ fields and ObjC ivars. I don't want to turn this into a full expression-identity check, but these additions seem pretty well-contained, and maintain the theme of checking for "x == x". <rdar://problem/14431127> llvm-svn: 190118
-
Rui Ueyama authored
llvm-svn: 190117
-
David Blaikie authored
Consumed Analysis: The 'consumable' attribute now takes a identifier specifying the default assumed state for objects of this class This information is used for return states and pass-by-value parameter states. Patch by Chris Wailes. Review by DeLesley Hutchins and Aaron Ballman. llvm-svn: 190116
-
Richard Smith authored
initializer list containing a single element of type T, be sure to mark the sequence as a list conversion sequence so that it is known to be worse than an implicit conversion sequence that initializes a std::initializer_list object. llvm-svn: 190115
-
Eli Friedman authored
Without this patch, TreeTransform::TransformExpr uses a ridiculous amount of stack space (around 5000 bytes). Preventing inlining brings the stack usage down to something sane. On a testcase I have, on my computer, this allows changing -ftemplate-depth from 210 to around 750 before we crash. I'm not sure I should commit the testcase, though: I don't want to cause test failures on platforms with less stack space available. <rdar://problem/14098189>. llvm-svn: 190114
-
Matt Arsenault authored
llvm-svn: 190113
-
Matt Arsenault authored
llvm-svn: 190112
-
Richard Smith authored
constructor. llvm-svn: 190111
-
Tom Stellard authored
llvm-svn: 190110
-
Eli Friedman authored
Consider something like the following: struct X { virtual void foo(float x); }; struct Y : X { void foo(double x) override; }; The error is almost certainly that Y::foo() has the wrong signature, rather than incorrect usage of the override keyword. This patch adds an appropriate diagnostic for that case. Fixes <rdar://problem/14785106>. llvm-svn: 190109
-
Eli Friedman authored
Just a minor tweak to make it easier to track down the cause of fatal errors with modules. llvm-svn: 190108
-
Tom Stellard authored
libclc is ABI-agnostic, and $prefix/lib/pkgconfig causes issues on multilib setups. Using $prefix/share/pkgconfig allows us to reuse a single libclc build across all system ABIs. Patch by: Michał Górny llvm-svn: 190107
-
Fariborz Jahanian authored
inferring NS_RETURNS_RETAINED, etc., return annotations. Do not infer if these annotations are implicit from the naming convention. Also add inference for NS_CONSUMES_SELF annotation. llvm-svn: 190106
-
Juergen Ributzka authored
If the DAG already has only legal types, then the second round of DAG combines is skipped. In this case VSELECT+SETCC patterns that match a more efficient instruction (e.g. min/max) are never recognized. This fix allows VSELECT+SETCC combines if the types are already legal before DAG type legalization. Reviewer: Nadav llvm-svn: 190105
-
- Sep 05, 2013
-
-
Daniel Malea authored
- TestRegisters passes locally (llvm.org/pr16301 no longer reproduces) -- verifying this on buildbots - TestTargetWatchAddress also passes locally, and referenced llvm.org/pr14323 which is now closed llvm-svn: 190104
-
Ed Maste authored
I accidentally dropped this in r189879 in the change from /bin/bash to /bin/sh. llvm-svn: 190103
-
Reid Kleckner authored
llvm-svn: 190101
-
Daniel Malea authored
- 'run' alias no longer includes the '--' for positional arguments... does not seem like a real bug. - 2.234f is not a great number for the float tests (due to precision/printing issues) so use 0.5f instead llvm-svn: 190100
-
Kevin Enderby authored
expression uses an assembler temporary symbol from an assignment. In this case the symbol does not have a fragment so the use of getFragment() would be NULL and caused a crash. In the case of an assembler temporary symbol we want to use the AliasedSymbol (if any) which will create a local relocation entry, but if it is not an assembler temporary symbol then let it use that symbol with an external relocation entry. rdar://9356266 llvm-svn: 190096
-
Rui Ueyama authored
llvm-svn: 190095
-
Eli Friedman authored
I don't have a reduced testcase yet. llvm-svn: 190094
-
Matt Arsenault authored
llvm-svn: 190093
-
Manman Ren authored
llvm-svn: 190092
-
Matt Arsenault authored
llvm-svn: 190091
-
Rafael Espindola authored
llvm-svn: 190090
-
Yunzhong Gao authored
allow escaped octal character sequences. The patch was discussed in Phabricator. See: http://llvm-reviews.chandlerc.com/D1289 llvm-svn: 190089
-
Jim Ingham authored
llvm-svn: 190085
-
Jim Ingham authored
llvm-svn: 190084
-
Jim Ingham authored
Include file cleanup. SymbolContext doesn’t need ClangASTType.h, Block.h did, and was getting it under the table from SymbolContext.h. llvm-svn: 190083
-
Manman Ren authored
DIBuilder now uses an identifier to reference DIType in base type field of ptr_to_member (in r190081). llvm-svn: 190082
-
Manman Ren authored
ptr_to_member. We introduce a new class DITypeRef that represents a reference to a DIType. It wraps around a Value*, which can be either an identifier in MDString or an actual MDNode. The class has a helper function "resolve" that finds the actual MDNode for a given DITypeRef. We specialize getFieldAs to return a field that is a reference to a DIType. To correctly access the base type field of ptr_to_member, getClassType now calls getFieldAs<DITypeRef> to return a DITypeRef. Also add a typedef for DITypeIdentifierMap and a helper generateDITypeIdentifierMap in DebugInfo.h. In DwarfDebug.cpp, we keep a DITypeIdentifierMap and call generateDITypeIdentifierMap to actually populate the map. Verifier is updated accordingly. llvm-svn: 190081
-
Tom Stellard authored
llvm-svn: 190080
-
Tom Stellard authored
llvm-svn: 190079
-
Tom Stellard authored
GlobalAdderss nodes that appeared in more than one basic block were being counted twice. llvm-svn: 190078
-
Tom Stellard authored
llvm-svn: 190077
-
Tom Stellard authored
This pass was segfaulting when it ran into a non-intrinsic function call. Function calls are not supported, so now instead of segfaulting, we will get an assertion failure with a nice error message. I'm not sure how to test this using lit. llvm-svn: 190076
-
Douglas Gregor authored
llvm-svn: 190075
-