| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
retain-cycle checking in -Warc-retain-cycles. This commonly
is hit by users using NSOperationQueue. Fixes <rdar://problem/10465721>.
llvm-svn: 145548
|
| |
|
|
|
|
|
|
|
| |
explicit template specializations (which represent actual functions somebody wrote).
Along the way, refactor some other code which similarly cares about whether or
not they are looking at a template instantiation.
llvm-svn: 145547
|
| |
|
|
| |
llvm-svn: 145544
|
| |
|
|
| |
llvm-svn: 145542
|
| |
|
|
|
|
|
|
|
| |
declaration tickles a bug in the way we handle visibility pragmas.
The improvement to error recovery for template function definitions declared
with the 'typedef' specifier in r145372 is unrelated and not reverted here.
llvm-svn: 145541
|
| |
|
|
|
|
| |
ill-formedness
llvm-svn: 145539
|
| |
|
|
|
|
|
|
|
| |
library, since modules cut across all of the libraries. Rename
serialization::Module to serialization::ModuleFile to side-step the
annoying naming conflict. Prune a bunch of ModuleMap.h includes that
are no longer needed (most files only needed the Module type).
llvm-svn: 145538
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PassInterestingDeclsToConsumer
we may end up having added more pending stuff to do, so go in a loop until everything
is cleared out.
This fixes the error in rdar://10278815 which has a certain David Lynch-esque quality..
error: unknown type name 'BOOL'; did you mean 'BOOL'?
llvm-svn: 145536
|
| |
|
|
| |
llvm-svn: 145534
|
| |
|
|
| |
llvm-svn: 145531
|
| |
|
|
|
|
| |
print out the source expression for OpaqueValueExpr.
llvm-svn: 145524
|
| |
|
|
|
|
| |
instantiations may produce different unreachable code results, and it is very difficult for us to prove that ALL instantiations of a template have specific unreachable code. If we come up with a better solution, then we can revisit this, but this approach will at least greatly reduce the noise of this warning for code that makes use of templates.
llvm-svn: 145520
|
| |
|
|
| |
llvm-svn: 145515
|
| |
|
|
| |
llvm-svn: 145514
|
| |
|
|
|
|
|
|
|
| |
it to GNU assembler. In addition, change function getMipsArchFromCPU() so that
it can be reused in ConstructJob().
Patch by Simon Atanasyan.
llvm-svn: 145509
|
| |
|
|
| |
llvm-svn: 145506
|
| |
|
|
|
|
|
|
|
|
| |
callback client to suggest an alternative search path and after we
complain when the included file can't be found. The former can't be
tested in isolation, the latter doesn't actually matter (because we
won't make a module suggestion if no header is available). However,
the flow is better this way.
llvm-svn: 145502
|
| |
|
|
| |
llvm-svn: 145501
|
| |
|
|
|
|
| |
an #include/#import as a module import.
llvm-svn: 145500
|
| |
|
|
|
|
|
|
|
| |
submodules. This information will eventually be used for name hiding
when dealing with submodules. For now, we only use it to ensure that
the module "key" returned when loading a module will always be a
module (rather than occasionally being a FileEntry).
llvm-svn: 145497
|
| |
|
|
| |
llvm-svn: 145495
|
| |
|
|
| |
llvm-svn: 145492
|
| |
|
|
|
|
| |
raw_ostream::write_escaped. Thanks, Benjamin!
llvm-svn: 145491
|
| |
|
|
| |
llvm-svn: 145490
|
| |
|
|
|
|
|
|
|
| |
really bad way to go about this, but I'm not sure there's a better
choice without substantial changes to TreeTransform --- most
notably, preserving implicit semantic nodes instead of discarding
and rebuilding them.
llvm-svn: 145480
|
| |
|
|
|
|
| |
writer. No functionality change.
llvm-svn: 145479
|
| |
|
|
|
|
|
| |
involve submodules (e.g., importing std.vector), rather than always
importing the top-level module.
llvm-svn: 145478
|
| |
|
|
|
|
|
|
|
| |
check whether the named submodules themselves are actually
valid, and drill down to the named submodule (although we don't do
anything with it yet). Perform typo correction on the submodule names
when possible.
llvm-svn: 145477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new metadata are method @encode strings with additional data.
1. Each Objective-C object is marked with its class name and protocol names.
The same is done for property @encode already.
2. Each block object is marked with its function prototype's @encoding. For
example, a method parameter that is a block object that itself returns void
and takes an int would look like:
@?<v@?i>
These new method @encode strings are stored in a single array pointed to by structs protocol_t and objc_protocol_ext.
Patch provided by Greg Parker!
llvm-svn: 145469
|
| |
|
|
|
|
| |
command (linux-only)
llvm-svn: 145467
|
| |
|
|
|
|
|
| |
top-level module name to a module path (e.g., std.vector). We're still
missing a number of pieces for this actually to do something.
llvm-svn: 145462
|
| |
|
|
|
|
|
|
| |
for the structure type.
rdar://10499337
llvm-svn: 145461
|
| |
|
|
|
|
| |
clang_findReferencesInFile.
llvm-svn: 145455
|
| |
|
|
| |
llvm-svn: 145453
|
| |
|
|
|
|
|
|
|
|
| |
for some cast expressions.
Original commit message:
Removed useless ImplicitCast nodes in explicit cstyle and static casts
llvm-svn: 145447
|
| |
|
|
|
|
| |
a 1-length character array.
llvm-svn: 145445
|
| |
|
|
|
|
|
| |
source file (e.g., a header). Immediately steal this useful option
name for building modules from a module map file.
llvm-svn: 145444
|
| |
|
|
|
|
| |
following cast will never fail.
llvm-svn: 145441
|
| |
|
|
|
|
| |
that use \ as a separator.
llvm-svn: 145439
|
| |
|
|
|
|
|
| |
we infer the module map, we'll just print the module map to a
temporary file and generate the module using that.
llvm-svn: 145436
|
| |
|
|
|
|
| |
actually write code that does this. This seems worthy of a checker, but the StoreManager should handle the memory abstraction without crashing. Fixes PR 11450.
llvm-svn: 145424
|
| |
|
|
| |
llvm-svn: 145421
|
| |
|
|
|
|
| |
flag.
llvm-svn: 145418
|
| |
|
|
|
|
|
| |
module map, rather than assuming that there is an umbrella
header. This allows us to automatically build umbrella-less modules.
llvm-svn: 145415
|
| |
|
|
|
|
| |
on-the-fly. No functionality change.
llvm-svn: 145414
|
| |
|
|
| |
llvm-svn: 145412
|
| |
|
|
|
|
| |
interface. No functionality change.
llvm-svn: 145411
|
| |
|
|
| |
llvm-svn: 145399
|
| |
|
|
| |
llvm-svn: 145397
|
| |
|
|
| |
llvm-svn: 145396
|