| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 55637
|
| |
|
|
| |
llvm-svn: 55635
|
| |
|
|
| |
llvm-svn: 55629
|
| |
|
|
|
|
| |
offset-of-like expressions.
llvm-svn: 55627
|
| |
|
|
|
|
|
|
| |
Note that this isn't really a complete fix; I think there are other
potential overrun situations. I don't really know what the best
systematic fix is, though.
llvm-svn: 55622
|
| |
|
|
|
|
|
|
|
| |
anywhere near correct in terms of missing cases and missing
diagnostics, but it's good enough to handle the uses in the
Linux system headers, which are currently a constant pain for compiling
applications on Linux.
llvm-svn: 55621
|
| |
|
|
|
|
|
| |
type-checking pointer subtraction; if the canonical types aren't used,
the qualifiers won't always get stripped off correctly.
llvm-svn: 55620
|
| |
|
|
| |
llvm-svn: 55615
|
| |
|
|
|
|
| |
I'll try to come up with a correct fix for the testcase sometime soon.
llvm-svn: 55614
|
| |
|
|
|
|
|
|
| |
- warn about nonnull being applied to functions with no pointer arguments
- continue processing argument list in the attribute when we encounter a non-pointer parameter being marked as nonnull
- when no argument list is specified, only mark pointers as nonnull. This fixes PR 2732 and radar 6188814.
llvm-svn: 55610
|
| |
|
|
| |
llvm-svn: 55609
|
| |
|
|
| |
llvm-svn: 55607
|
| |
|
|
|
|
| |
access of methods.
llvm-svn: 55569
|
| |
|
|
|
|
| |
subset of tests.
llvm-svn: 55513
|
| |
|
|
|
|
| |
Parser support for blocks is almost complete...just need to add support for the __block() storage class qualifier.
llvm-svn: 55495
|
| |
|
|
|
|
|
|
|
| |
with correct width.
- PR2728.
Also, fix PR2727 test case.
llvm-svn: 55493
|
| |
|
|
|
|
|
|
| |
- PR2727.
Also, fix warning in CodeGenTypes for new BlockPointer type.
llvm-svn: 55479
|
| |
|
|
|
|
| |
This commit adds the declaration syntax (and associated type).
llvm-svn: 55417
|
| |
|
|
| |
llvm-svn: 55408
|
| |
|
|
|
|
| |
Respect isReadOnly when generating synthesized method decls.
llvm-svn: 55364
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of RHSs to id type instead of void* if either has Objective-C object
type.
- This ensures the result can still be used in normal places an
object can be used, like a message send.
Add implicit conversions for ?: applied to qualified id types to
ensure that the RHSs are compatible.
- This prevents a codegen crash (creating invalid PHI nodes).
- Again, this relates to the fact that qualified id types have no
canonical types.
- Note that the implicit type casted to is incorrect, however this
doesn't currently cause problems because of the flexibility of the
id type.
Test cases for above.
llvm-svn: 55346
|
| |
|
|
|
|
|
| |
correctly. Not a regression, but made more obvious by my recent fix
which made function type compatibility checking a bit more strict.
llvm-svn: 55339
|
| |
|
|
|
|
|
|
|
|
| |
casting pointers to integers.
Eventually, we should check whether we can evaluate an expression
using Expr::tryEvaluate, and this codepath should be tightened to only
handle standard-compliant cases.
llvm-svn: 55331
|
| |
|
|
|
|
| |
expression.
llvm-svn: 55323
|
| |
|
|
| |
llvm-svn: 55316
|
| |
|
|
| |
llvm-svn: 55286
|
| |
|
|
| |
llvm-svn: 55262
|
| |
|
|
| |
llvm-svn: 55255
|
| |
|
|
| |
llvm-svn: 55254
|
| |
|
|
| |
llvm-svn: 55253
|
| |
|
|
| |
llvm-svn: 55249
|
| |
|
|
| |
llvm-svn: 55247
|
| |
|
|
|
|
|
| |
make diagnostic output in some other malformed cases significantly
more useful. This fixes PR2708
llvm-svn: 55215
|
| |
|
|
| |
llvm-svn: 55178
|
| |
|
|
|
|
|
|
|
|
| |
-The Parser calls a new "ActOnCXXTypeConstructExpr" action.
-Sema, depending on the type and expressions number:
-If the type is a class, it will treat it as a class constructor. [TODO]
-If there's only one expression (i.e. "int(0.5)" ), creates a new "CXXFunctionalCastExpr" Expr node
-If there are no expressions (i.e "int()" ), creates a new "CXXZeroInitValueExpr" Expr node.
llvm-svn: 55177
|
| |
|
|
|
|
| |
somewhere else in the path. fix that.
llvm-svn: 55175
|
| |
|
|
| |
llvm-svn: 55166
|
| |
|
|
|
|
| |
"+=".
llvm-svn: 55131
|
| |
|
|
|
|
| |
lines as errors.
llvm-svn: 55109
|
| |
|
|
|
|
|
| |
Suppress count output from 'make test' on errors (used to generate
result code).
llvm-svn: 55107
|
| |
|
|
|
|
|
|
|
| |
scripts dir appear before the user path.
- This is an attempt to pick up the right executables. We should
probably be substituting the exact things we want for clang a la
the LLVM test script.
llvm-svn: 55105
|
| |
|
|
|
|
|
|
| |
directory.
- Removed .ll from the svn:ignore lists to try and prevent this.
- Added svn:ignore on test/Misc/Output
llvm-svn: 55104
|
| |
|
|
|
|
|
| |
directory.
- Also, return proper error code if testing fails.
llvm-svn: 55103
|
| |
|
|
| |
llvm-svn: 55083
|
| |
|
|
| |
llvm-svn: 55082
|
| |
|
|
|
|
|
|
|
| |
- UsualUnaryConversions takes an Expr *& and may modify its argument,
this broke when it was refactored into Sema::CheckCastTypes. This
meant that we were missing implicit casts in some places.
- Seems pretty sad that this got through our tests.
llvm-svn: 55039
|
| |
|
|
| |
llvm-svn: 55032
|
| |
|
|
| |
llvm-svn: 55027
|
| |
|
|
|
|
|
|
|
|
| |
heck it does on Darwin, but it's not part of POSIX, and the GNU version
of find errors out on it.
On a side note, there are a couple of new failures due to tests
including OS X specific headers.
llvm-svn: 55019
|
| |
|
|
|
|
|
|
| |
the source locations of the sync expression (since it may have been rewritten.
Fixes <rdar://problem/6156363> clang ObjC rewriter: rewriting attached file causes assertion failure: invalid FileID
llvm-svn: 54986
|