| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the types for size_t and ptrdiff_t more accurate. I think all of these
are correct, but please compare the defines for __PTRDIFF_TYPE__ and
__SIZE_TYPE__ to gcc to double-check; this particularly applies to
those on BSD variants, since I'm not sure what they do here; I assume
here that they're the same as on Linux.
Fixes wchar_t to be "int", not "unsigned int" (which I think is
correct on everything but Windows).
Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an
somewhat strange choice because it normally gets promoted, and it's not
consistent with the choice for size_t.
llvm-svn: 58556
|
|
|
|
|
|
| |
alloca().
llvm-svn: 58553
|
|
|
|
| |
llvm-svn: 58552
|
|
|
|
| |
llvm-svn: 58551
|
|
|
|
|
|
| |
ranges that occur within macros would not be emitted at all.
llvm-svn: 58550
|
|
|
|
|
|
| |
- No functionality change.
llvm-svn: 58546
|
|
|
|
|
|
| |
default/copy constructors
llvm-svn: 58538
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
conversions.
Notes:
- Overload resolution for converting constructors need to prohibit
user-defined conversions (hence, the test isn't -verify safe yet).
- We still use hacks for conversions from a class type to itself.
This will be the case until we start implicitly declaring the appropriate
special member functions. (That's next on my list)
llvm-svn: 58513
|
|
|
|
|
|
| |
targets to set these values and not have defaults.
llvm-svn: 58511
|
|
|
|
|
|
| |
reminder to produce a test case.
llvm-svn: 58510
|
|
|
|
| |
llvm-svn: 58509
|
|
|
|
|
|
| |
No need for an extra type argument.
llvm-svn: 58507
|
|
|
|
| |
llvm-svn: 58506
|
|
|
|
| |
llvm-svn: 58504
|
|
|
|
| |
llvm-svn: 58503
|
|
|
|
|
|
|
|
|
|
| |
etc more generic. For some targets, long may not be equal to pointer size. For
example: PIC16 has int as i16, ptr as i16 but long as i32.
Also fixed a few build warnings in assert() functions in CFRefCount.cpp,
CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp.
llvm-svn: 58501
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notes:
- Constructors are never found by name lookup, so they'll never get
pushed into any scope. Instead, they are stored as an
OverloadedFunctionDecl in CXXRecordDecl for easy overloading.
- There's a new action isCurrentClassName that determines whether an
identifier is the name of the innermost class currently being defined;
we use this to identify the declarator-id grammar rule that refers to
a type-name.
- MinimalAction does *not* support parsing constructors.
- We now handle virtual and explicit function specifiers.
llvm-svn: 58499
|
|
|
|
|
|
|
|
| |
were being treated as type names for non-Objective-C files.
- Other lines are just because MinimalAction didn't have access to
the LangOptions.
llvm-svn: 58498
|
|
|
|
|
|
| |
type.
llvm-svn: 58497
|
|
|
|
| |
llvm-svn: 58496
|
|
|
|
| |
llvm-svn: 58495
|
|
|
|
|
|
| |
create a CompoundVal by loading from each field of the struct.
llvm-svn: 58494
|
|
|
|
| |
llvm-svn: 58492
|
|
|
|
|
|
|
| |
recursive types.
- Style will be clean up in further patches.
llvm-svn: 58490
|
|
|
|
|
|
| |
- No functionality change.
llvm-svn: 58488
|
|
|
|
| |
llvm-svn: 58487
|
|
|
|
| |
llvm-svn: 58479
|
|
|
|
|
|
| |
number of a compound literal (whose address is being returned) instead of printing out the hex representation of the pointer address of the CompoundLiteralExpr.
llvm-svn: 58478
|
|
|
|
| |
llvm-svn: 58469
|
|
|
|
|
|
| |
compound literal.
llvm-svn: 58468
|
|
|
|
|
|
| |
self.X is an implicit call to setX.
llvm-svn: 58462
|
|
|
|
| |
llvm-svn: 58446
|
|
|
|
|
|
| |
adapter for std::ostream, but this will be removed in the future.
llvm-svn: 58445
|
|
|
|
| |
llvm-svn: 58444
|
|
|
|
|
|
| |
Added pretty-printing for nonloc::CompoundSVal.
llvm-svn: 58442
|
|
|
|
| |
llvm-svn: 58441
|
|
|
|
| |
llvm-svn: 58440
|
|
|
|
|
|
| |
change was motivated by the need to allow state-splitting in GRExprEngine::VisitInitListExpr. As a side-benefit, we no longer need to perform any copies of SVals when creating a CompoundSVal, and the profiling of CompoundSVal is now constant time.
llvm-svn: 58437
|
|
|
|
|
|
|
|
| |
Fix PR 2978 false positive for missing release in -dealloc of an ivar retained via a property and then released by assigning nil to that property:
http://llvm.org/bugs/show_bug.cgi?id=2978
llvm-svn: 58431
|
|
|
|
| |
llvm-svn: 58429
|
|
|
|
| |
llvm-svn: 58422
|
|
|
|
|
|
|
| |
- SetSVal(GRState*, Loc, SVal) => BindLoc
- SetSVal(GRState*, Expr*, SVal) => BindExpr
llvm-svn: 58421
|
|
|
|
|
|
| |
value.
llvm-svn: 58419
|
|
|
|
| |
llvm-svn: 58418
|
|
|
|
| |
llvm-svn: 58417
|
|
|
|
| |
llvm-svn: 58410
|
|
|
|
| |
llvm-svn: 58404
|
|
|
|
|
|
|
|
|
|
| |
- That is, the metadata for a protocol is only emitted if that
protocol is actually used in the translation unit. This is
important because Objective-C headers frequently contain a large
number of protocol definitions, only a few of which will be used in
any given file.
llvm-svn: 58400
|
|
|
|
|
|
| |
typeof(another_function) would have FunctionDecl::getNumParams() return the number of parameters in the original function type and not the number of parameters in the actual FunctionDecl.
llvm-svn: 58392
|
|
|
|
|
|
|
|
|
|
| |
- Allows definitions of overloaded functions :)
- Eliminates extraneous error messages when we have a definition of a
function that isn't an overload but doesn't have exactly the same type
as the original.
llvm-svn: 58382
|