- Nov 30, 2011
-
-
Ted Kremenek authored
Don't run -Wunreachable-code on template instantiations. Different 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
-
Matt Beaumont-Gay authored
llvm-svn: 145515
-
Douglas Gregor authored
llvm-svn: 145514
-
Akira Hatanaka authored
it to GNU assembler. In addition, change function getMipsArchFromCPU() so that it can be reused in ConstructJob(). Patch by Simon Atanasyan. llvm-svn: 145509
-
Benjamin Kramer authored
llvm-svn: 145506
-
Douglas Gregor authored
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
-
Douglas Gregor authored
llvm-svn: 145501
-
Douglas Gregor authored
an #include/#import as a module import. llvm-svn: 145500
-
Douglas Gregor authored
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
-
Anna Zaks authored
llvm-svn: 145495
-
Benjamin Kramer authored
llvm-svn: 145492
-
Douglas Gregor authored
raw_ostream::write_escaped. Thanks, Benjamin! llvm-svn: 145491
-
John McCall authored
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
-
Douglas Gregor authored
writer. No functionality change. llvm-svn: 145479
-
Douglas Gregor authored
involve submodules (e.g., importing std.vector), rather than always importing the top-level module. llvm-svn: 145478
-
Douglas Gregor authored
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
-
rdar://problem/10492418Bob Wilson authored
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
-
Kostya Serebryany authored
llvm-svn: 145467
-
Douglas Gregor authored
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
-
Eric Christopher authored
for the structure type. rdar://10499337 llvm-svn: 145461
-
Akira Hatanaka authored
llvm-svn: 145453
-
- Nov 29, 2011
-
-
Richard Smith authored
for some cast expressions. Original commit message: Removed useless ImplicitCast nodes in explicit cstyle and static casts llvm-svn: 145447
-
Matt Beaumont-Gay authored
a 1-length character array. llvm-svn: 145445
-
Douglas Gregor authored
source file (e.g., a header). Immediately steal this useful option name for building modules from a module map file. llvm-svn: 145444
-
Lang Hames authored
Test isa<FunctionDecl> to exclude objective-C methods. This ensures the following cast will never fail. llvm-svn: 145441
-
Douglas Gregor authored
that use \ as a separator. llvm-svn: 145439
-
Douglas Gregor authored
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
-
Ted Kremenek authored
Relax RegionStore to allow loads from CodeTextRegions. Apparently you can 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
-
Matt Beaumont-Gay authored
llvm-svn: 145421
-
Douglas Gregor authored
module map, rather than assuming that there is an umbrella header. This allows us to automatically build umbrella-less modules. llvm-svn: 145415
-
Douglas Gregor authored
on-the-fly. No functionality change. llvm-svn: 145414
-
Argyrios Kyrtzidis authored
llvm-svn: 145412
-
Douglas Gregor authored
interface. No functionality change. llvm-svn: 145411
-
Benjamin Kramer authored
llvm-svn: 145399
-
Benjamin Kramer authored
llvm-svn: 145396
-
Richard Smith authored
was probably meant to be 'typename', which we will have already suggested if it is appropriate. llvm-svn: 145395
-
Argyrios Kyrtzidis authored
for late parsing. llvm-svn: 145394
-
NAKAMURA Takumi authored
clang/lib/Driver/Driver.cpp: Don't pass through negative exit status, or parent would be confused. llvm::sys::Program::Wait(): Suppose 0x8000XXXX and 0xC000XXXX as abnormal exit code and pass it as negative value. Win32 Exception Handler: Exit with ExceptionCode on an unhandle exception. llvm-svn: 145389
-
Richard Smith authored
declaration at namespace scope is followed by a semicolon and an open-brace (or in C++, a 'try', ':' or '='), then the error is probably a function definition with a spurious ';', rather than a mysterious '{'. llvm-svn: 145372
-
Fariborz Jahanian authored
// rdar://10453342 llvm-svn: 145358
-