- Jun 15, 2012
-
-
Bill Wendling authored
llvm-svn: 158535
-
Bill Wendling authored
llvm-svn: 158534
-
Jordan Rose authored
Specifically, @[] and @{} didn't have a type associated with them; we now use "NSArray *" and "NSDictionary *", respectively. @"" has the type "NSString *". @(), unfortunately, has type "id", since it (currently) may be either an NSNumber or an NSString. Add a test for all the Objective-C at-expression completions. <rdar://problem/11507708&11507668&11507711> llvm-svn: 158533
-
Jordan Rose authored
We already didn't track objects that have delegates or callbacks or objects that are passed through void * "context pointers". It's a not-uncommon pattern to release the object in its callback, and so the leak message we give is not very helpful. llvm-svn: 158532
-
Jordan Rose authored
This is explicitly forbidden in C99 6.7.4p3. This is /not/ forbidden in C++, probably because by default file-scope const/constexpr variables have internal linkage, while functions have external linkage. There's also the issue of anonymous namespaces to consider. Nevertheless, there should probably be a similar warning, since the semantics of inlining a function that references a variable with internal linkage do not seem well-defined. <rdar://problem/11577619> llvm-svn: 158531
-
Jordan Rose authored
There was already a test that it did not fire in type-dependent contexts. This was already behaving correctly. llvm-svn: 158530
-
Pete Cooper authored
Allow SROA to split up an array of vectors into multiple vectors, even when the vectors are dynamically indexed llvm-svn: 158529
-
Rafael Espindola authored
linkonce linkage. For example, it is not valid to add unnamed_addr. This also fixes a crash in g++.dg/opt/static5.C. llvm-svn: 158528
-
Jakob Stoklund Olesen authored
This probably mostly shows up in bugpoint-generated code. llvm-svn: 158527
-
Jakob Stoklund Olesen authored
We only do very limited physreg coalescing now, but we still merge virtual registers into reserved registers. llvm-svn: 158526
-
Douglas Gregor authored
for unexpanded parameter packs. Fixes the crash-on-invalid in PR13117. llvm-svn: 158525
-
Alexey Samsonov authored
llvm-svn: 158524
-
Rafael Espindola authored
Patch extracted from a larger one by the PaX team. I added the testcases and tightened error handling a bit. llvm-svn: 158523
-
Alexey Samsonov authored
llvm-svn: 158522
-
NAKAMURA Takumi authored
llvm-svn: 158521
-
Alexey Samsonov authored
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime llvm-svn: 158519
-
Alexey Samsonov authored
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
-
Bill Wendling authored
llvm-svn: 158514
-
Bill Wendling authored
llvm-svn: 158513
-
James Dennett authored
llvm-svn: 158512
-
James Dennett authored
llvm-svn: 158511
-
James Dennett authored
* Converted comments to use \brief to provide summaries; * Fixed uses of \arg that should be \p; * Fixed \param [in] [out] to \param [in,out]; * Made minor formatting fixes. llvm-svn: 158510
-
James Dennett authored
not \arg ParameterName (which should be used only when documenting that parameter, not when referring to it from elsewhere). llvm-svn: 158509
-
Duncan Sands authored
example degenerate phi nodes and binops that use themselves in unreachable code. Thanks to Charles Davis for the testcase that uncovered this can of worms. llvm-svn: 158508
-
James Dennett authored
llvm-svn: 158507
-
James Dennett authored
llvm-svn: 158506
-
James Dennett authored
* Escaped @ symbols that shouldn't be interpreted by Doxygen; * Deleted \param documentation for function parameters that no longer exist; * Fixed parameter names in \param Doxygen commands; * Fixed some broken formatting. llvm-svn: 158505
-
James Dennett authored
on ASTContext::CreateTypeSourceInfo that duplicated information from the (more complete) version in ASTContext.h. llvm-svn: 158504
-
James Dennett authored
* Add \brief to produce a summary in the Doxygen output; * Add missing parameter names to \param commands; * Fix mismatched parameter names for \param commands; * Add a parameter name so that the \param has a target. llvm-svn: 158503
-
Alexey Samsonov authored
llvm-svn: 158502
-
James Dennett authored
llvm-svn: 158501
-
Alexey Samsonov authored
llvm-svn: 158500
-
Alexey Samsonov authored
llvm-svn: 158499
-
James Dennett authored
* Removed \param comments for parameters that no longer exist; * Fixed a "\para" typo to "\param"; * Escaped @, # and \ symbols as needed in Doxygen comments; * Added use of \brief to output short summaries. llvm-svn: 158498
-
Craig Topper authored
llvm-svn: 158497
-
Alexey Samsonov authored
llvm-svn: 158496
-
James Dennett authored
llvm-svn: 158495
-
James Dennett authored
llvm-svn: 158494
-
Alexey Samsonov authored
[Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self llvm-svn: 158493
-
Craig Topper authored
llvm-svn: 158492
-