- May 02, 2012
-
-
Kostya Serebryany authored
llvm-svn: 155986
-
Bill Wendling authored
methods. Use a weak value handle to keep up with this. PR12245 llvm-svn: 155984
-
Richard Barton authored
llvm-svn: 155983
-
Craig Topper authored
llvm-svn: 155982
-
James Molloy authored
-fpack-struct's handling has changed in CC1 (one of only two flags that needed changing) because the driver treats "-fpack-struct" as a boolean flag, and CC1 (did) treat it as an option with a separated value. This change causes -fpack-struct=X to be forwarded correctly to -fpack-struct=X instead of erroneously to "-fpack-struct X" llvm-svn: 155981
-
John McCall authored
allowed, and it'll blow up in unfortunate ways when using a proper C++11 library. llvm-svn: 155980
-
John McCall authored
Note that support for rvalue references does not imply support for the full set of move-related STL operations. I've preserved support for an odd little thing in insert() where we're trying to support inserting a new element from an existing one. If we actually want to support that, there's a lot more we need to do: insert can call either grow or push_back, neither of which is safe against this particular use pattern. llvm-svn: 155979
-
John McCall authored
llvm-svn: 155978
-
Andrew Trick authored
llvm-svn: 155977
-
Eli Friedman authored
llvm-svn: 155976
-
Richard Smith authored
the parsing of such things appears to be a conforming extension, but it breaks libstdc++4.7's std::pair. llvm-svn: 155975
-
Andrew Trick authored
Really just a wild stab in the dark. llvm-svn: 155974
-
Jim Ingham authored
If a command takes options and arguments, the help text should warn the user to use "--" to terminate the options. llvm-svn: 155973
-
Ted Kremenek authored
Refine analyzer diagnostics by adding an expression "cone-of-influence" to reverse track interesting values through interesting expressions. This allows us to map from interesting values in a caller to interesting values in a caller, thus recovering some precision in diagnostics lost from IPA. Fixes <rdar://problem/11327497> llvm-svn: 155971
-
Jim Ingham authored
includes of ClangUserExpression that were being errantly dragged in through same. llvm-svn: 155970
-
Richard Smith authored
* Work around build failures due to gcc 4.2 bugs. * Remove BodyIndexer::TraverseCXXOperatorCallExpr, which was not being called prior to this change, and whose presence disables a RecursiveASTVisitor stack space optimization after this change. llvm-svn: 155969
-
Jim Ingham authored
llvm-svn: 155968
-
Jim Ingham authored
since we now run the condition in the StopInfoBreakpoint's PerformAction, and don't need to refer it to another "continue". Actually, we haven't needed to do this for a year or so, I just hadn't gotten around to deleting the dead wood. llvm-svn: 155967
-
Anna Zaks authored
warning. llvm-svn: 155966
-
Kaelyn Uhrain authored
of giving unhelpful errors about undeclared identifers and missing semicolons. llvm-svn: 155965
-
Anna Zaks authored
llvm-svn: 155964
-
Anna Zaks authored
llvm-svn: 155963
-
Andrew Trick authored
FAIL: Clang :: Index/index-many-call-ops.cpp llvm-svn: 155962
-
Douglas Gregor authored
folding its one check into the normal path for checking overridden Objective-C methods. Good for another 3.6% speedup on the test case in <rdar://problem/11004361>. llvm-svn: 155961
-
Jim Grosbach authored
llvm-svn: 155960
-
Jakub Staszak authored
llvm-svn: 155959
-
Douglas Gregor authored
declared in a subclass has consistent parameter types with a method having the same selector in a superclass performs a significant number of lookups into the class hierarchy. In the example in <rdar://problem/11004361>, we spend 4.7% of -fsyntax-only time in these lookups. Optimize away most of the calls to this routine (Sema::CompareMethodParamsInBaseAndSuper) by first checking whether we have ever seen *any* method with that selector (using the global selector table). Since most selectors are unique, we can avoid the cost of this name lookup in many cases, for a 3.3% speedup. llvm-svn: 155958
-
Jakub Staszak authored
llvm-svn: 155957
-
Jakub Staszak authored
llvm-svn: 155956
-
Bill Wendling authored
PR10799 llvm-svn: 155954
-
rdar://problem/11333367Eli Friedman authored
While I'm here, fix source locations for other diagnostics related to property synthesis. llvm-svn: 155953
-
Argyrios Kyrtzidis authored
llvm-svn: 155952
-
- May 01, 2012
-
-
Richard Smith authored
have been overridden in the derived class. Also, remove a non-functional implementation of an incorrect optimization for ParenExprs. llvm-svn: 155951
-
Ted Kremenek authored
Teach SValBuilder to handle casts of symbolic pointer values to an integer twice. Fixes <rdar://problem/11212866>. llvm-svn: 155950
-
Patrick Beard authored
BuildObjCNumericLiteral() and BuildObjCBoxedExpr() now both using PerformCopyInitialization() rather than PerformImplicitConversion(), which suppresses errors. In BuildObjCBoxedExpr(): no longer calling .getCanonicalType(), ValueType->getAs() will remove the minimal amount of sugar. Using ValueType->isBuiltinType() instead of isa<BuiltinType>(ValueType). llvm-svn: 155949
-
David Blaikie authored
llvm-svn: 155948
-
Sirish Pande authored
llvm-svn: 155947
-
Jim Grosbach authored
Aliases for adding a negative immediate when using an explicit 'w' suffix. E.g., adds.w r2, #-16 adds.w r2, r2, #-16 addw r2, #-16 addw r2, #-16 addw r2, r2, #-16 rdar://11330769 llvm-svn: 155946
-
Anna Zaks authored
llvm-svn: 155945
-
Anna Zaks authored
reason about the expression. This essentially keeps more history about how symbolic values were constructed. As an optimization, previous to this commit, we only kept the history if one of the symbols was tainted, but it's valuable keep the history around for other purposes as well: it allows us to avoid constructing conjured symbols. Specifically, we need to identify the value of ptr as ElementRegion (result of pointer arithmetic) in the following code. However, before this commit '(2-x)' evaluated to Unknown value, and as the result, 'p + (2-x)' evaluated to Unknown value as well. int *p = malloc(sizeof(int)); ptr = p + (2-x); This change brings 2% slowdown on sqlite. Fixes radar://11329382. llvm-svn: 155944
-