- Mar 06, 2012
-
-
Ted Kremenek authored
llvm-svn: 152139
-
Ted Kremenek authored
NSNumber, and boolean literals. This includes both Sema and Codegen support. Included is also support for new Objective-C container subscripting. My apologies for the large patch. It was very difficult to break apart. The patch introduces changes to the driver as well to cause clang to link in additional runtime support when needed to support the new language features. Docs are forthcoming to document the implementation and behavior of these features. llvm-svn: 152137
-
Chad Rosier authored
rdar://10972766 llvm-svn: 152130
-
-
Daniel Dunbar authored
- These functions are both (a) very commonly called and (b) excellent candidates for CSE in the callers in which they are commonly used. - That isHalfType() is hot makes me sad, but it is trivially when inlined (and a huge waste of time when not!!!). - The extra IsEnumDeclComplete() function is a hack to break the cycle between Type.h and Decl.h, I'm not sure of how to do this more cleanly, but am open to ideas. llvm-svn: 152126
-
Fariborz Jahanian authored
when rewriting. llvm-svn: 152123
-
Richard Smith authored
grammar requires a string-literal and not a user-defined-string-literal. The two constructs are still represented by the same TokenKind, in order to prevent a combinatorial explosion of different kinds of token. A flag on Token tracks whether a ud-suffix is present, in order to prevent clients from needing to look at the token's spelling. llvm-svn: 152098
-
Argyrios Kyrtzidis authored
The latter is just a worse version of the former. llvm-svn: 152096
-
Ted Kremenek authored
[analyzer] add a diagnostic event when entering a call via inlining, within the callee, and add an edge. llvm-svn: 152086
-
Ted Kremenek authored
llvm-svn: 152083
-
Jordy Rose authored
llvm-svn: 152080
-
Jordy Rose authored
llvm-svn: 152078
-
Ted Kremenek authored
when the called function is never inlined. Fixes <rdar://problem/10977037>. llvm-svn: 152073
-
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
-
Anna Zaks authored
llvm-svn: 152059
-
Sebastian Redl authored
llvm-svn: 152048
-
Fariborz Jahanian authored
return types that return non-void values. // rdar://10735698 llvm-svn: 152047
-
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
kinds as the underlying string literals, and we silently drop the ud-suffix; those issues will be fixed by subsequent patches. llvm-svn: 152012
-
- 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
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
-
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
-
Ted Kremenek authored
[analyzer] do not warn about returning stack-allocated memory when it comes from an ancestor stack frame. llvm-svn: 151964
-