- Mar 06, 2012
-
-
Jordy Rose authored
llvm-svn: 152080
-
Jordy Rose authored
llvm-svn: 152078
-
Argyrios Kyrtzidis authored
llvm-svn: 152075
-
Argyrios Kyrtzidis authored
is shared to avoid any "misalignment" if indices. llvm-svn: 152074
-
Ted Kremenek authored
when the called function is never inlined. Fixes <rdar://problem/10977037>. llvm-svn: 152073
-
Anna Zaks authored
considered for inlining to 200 BBs. Setting the max to 10 BBs introduced several false negatives, we'll reevaluate the setting later on along with other inlining heuristics. llvm-svn: 152072
-
-
Richard Smith authored
string literal, and adjust the diagnostic code to match. This also causes us to escape any control characters in the message. llvm-svn: 152069
-
Ted Kremenek authored
Teach SimpleSValBuilder that (in the absence of more information) stack memory doesn't alias symbolic memory. This is a heuristic/hack, but works well in practice. Fixes <rdar://problem/10978247>. llvm-svn: 152065
-
- Mar 05, 2012
-
-
Daniel Dunbar authored
bool. Ugh. llvm-svn: 152062
-
Daniel Dunbar authored
from the ASTContext. - Doing so requires the compiler to generate null checks against the returned result, but the BumpPtrAllocator never returns null pointers. - The optimizer can usually eliminate such checks, but not always, so this gives us tighter codegen in some places. - It would be really nice if we could just use __builtin_unreachable or something to tell the optimizer that the allocator never returns null, but LLVM isn't currently that smart. llvm-svn: 152060
-
Anna Zaks authored
llvm-svn: 152059
-
Daniel Dunbar authored
llvm-svn: 152054
-
Sebastian Redl authored
llvm-svn: 152048
-
Fariborz Jahanian authored
return types that return non-void values. // rdar://10735698 llvm-svn: 152047
-
Jim Grosbach authored
llvm-svn: 152046
-
Anna Zaks authored
calls with self as a parameter. llvm-svn: 152039
-
Anna Zaks authored
calling an ObjC method ending with 'NoCopy'. llvm-svn: 152037
-
Benjamin Kramer authored
llvm-svn: 152033
-
Peter Collingbourne authored
ASTContext::getUnaryTransformType. This can happen if, for example, an enumeration's underlying type is a typedef. llvm-svn: 152031
-
Nico Weber authored
Patch from Sean Silva <silvas@purdue.edu>! llvm-svn: 152030
-
Benjamin Kramer authored
llvm-svn: 152029
-
Rafael Espindola authored
In the included testcase, soma thinks that we already have a definition after we see the out of line decl. Codegen puts it in a deferred list, to be output if a use is seen. This would break when we saw an explicit template instantiation definition, since codegen would not be notified. This patch adds a method to the consumer interface so that soma can notify codegen that this decl is now required. llvm-svn: 152024
-
James Molloy authored
Fix a bug in the mangler where in 'namespace std { extern "C" {X;} }', X would not be seen to be in ::std::. Migrate two other places where the same logic is used to use the helper function that already exists. llvm-svn: 152022
-
Argyrios Kyrtzidis authored
-Make sure we don't change to '__weak' a __block variable used as output. -Make sure we don't apply __weak twice. Fixes rdar://10520757&10521362 llvm-svn: 152020
-
Argyrios Kyrtzidis authored
Introduce PreprocessingRecord::rangeIntersectsConditionalDirective() which returns true if a given range intersects with a conditional directive block. llvm-svn: 152018
-
Argyrios Kyrtzidis authored
-Add location parameter for the directives callbacks -Skip callbacks if the directive is inside a skipped range. -Make sure the directive callbacks are invoked in source order. llvm-svn: 152017
-
Richard Smith authored
llvm-svn: 152013
-
Richard Smith authored
kinds as the underlying string literals, and we silently drop the ud-suffix; those issues will be fixed by subsequent patches. llvm-svn: 152012
-
Gregory Szorc authored
llvm-svn: 152011
-
- Mar 04, 2012
-
-
Erik Verbruggen authored
Remove a recursive visitation in ExprEngine that is no longer needed because the CFG is fully linearized. llvm-svn: 152007
-
Chandler Carruth authored
llvm-svn: 152005
-
Richard Smith authored
llvm-svn: 151997
-
Chris Lattner authored
we're making. We only ignore implicit casts. Add a testcase showing that we get the right behavior with explicit casts. llvm-svn: 151994
-
Chris Lattner authored
reported by Richard Smith. llvm-svn: 151993
-
Richard Smith authored
llvm-svn: 151992
-
- Mar 03, 2012
-
-
Richard Smith authored
resolution of core issue 1454. llvm-svn: 151991
-
Benjamin Kramer authored
llvm-svn: 151989
-
Jean-Daniel Dupas authored
llvm-svn: 151978
-
Eli Friedman authored
Avoid an unnecessary recursive loop between type canonicalization and NNS canonicalization which would (rarely) lead to memory corruption. While I'm here, simplify. Fixes PR12166. Not committing a testcase because it's impossible to reduce it. llvm-svn: 151967
-