- Jun 15, 2012
-
-
Alexis Hunt authored
llvm-svn: 158545
-
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
-
Douglas Gregor authored
for unexpanded parameter packs. Fixes the crash-on-invalid in PR13117. llvm-svn: 158525
-
NAKAMURA Takumi authored
llvm-svn: 158521
-
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
-
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
-
James Dennett authored
llvm-svn: 158501
-
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
-
James Dennett authored
llvm-svn: 158495
-
James Dennett authored
llvm-svn: 158494
-
Craig Topper authored
llvm-svn: 158492
-
James Dennett authored
* Added/tidied \brief summaries; * Escaped # as needed for Doxygen; * Drive-by: Fixed a rogue line > 80 columns. llvm-svn: 158491
-
James Dennett authored
* Add parameter names to various \param commands; * Ensure that \brief summaries are followed by blank lines where needed to prevent subsequent text being merged into the summary; * Mark code examples with \code...\endcode so that they're appropriately formatted by Doxygen. * Add qualification for links to field of structs (specifically callbacks); * Escape #, @ and < as needed to avoid them being interpreted by Doxygen; * Remove incorrect uses of "\see name", preferring #name; * Fix a glitchy "\param Returns..." to be "\returns"; * Fix parameter names given to \param, typos and otherwise. llvm-svn: 158489
-
John McCall authored
semantics of a ctor/dtor function-try-block catch handler by pushing a normal cleanup is not just overkill but actually actively wrong when the handler contains an explicit return (which is only legal in a dtor). Just emit the rethrow as ordinary code at the fallthrough point. Fixes PR13102. llvm-svn: 158488
-
Richard Smith authored
modes. For languages other than C99/C11, this isn't quite a conforming extension, and for C++11, it breaks some reasonable code containing user-defined literals. In languages which don't officially have hexfloats, pare back this extension to only apply in cases where the token starts 0x and does not contain an underscore. The extension is still not quite conforming, but it's a lot closer now. llvm-svn: 158487
-
James Dennett authored
annotations in many places where it involved little change, fixed some examples and marked code examples with \code...\endcode, and changed a few nearby mentions of C++0x to refer to C++11. llvm-svn: 158486
-
David Blaikie authored
This condition (added in r158093) was overly conservative. llvm-svn: 158483
-
Richard Trieu authored
llvm-svn: 158478
-
Richard Trieu authored
llvm-svn: 158477
-
- Jun 14, 2012
-
-
James Dennett authored
* Escape #, < and @ symbols where Doxygen would try to interpret them; * Fix several function param documentation where names had got out of sync; * Delete param documentation referring to parameters that no longer exist. llvm-svn: 158472
-
Daniel Jasper authored
a CXXRecordDecl is complete. Fixes Bug 13086. llvm-svn: 158469
-
David Blaikie authored
Review feedback/bot failure from r158459 by Simon Atanasyan and Benjamin Kramer (on IRC). llvm-svn: 158464
-
David Blaikie authored
Review by Chandler Carruth. llvm-svn: 158463
-
David Blaikie authored
llvm-svn: 158460
-
David Blaikie authored
llvm-svn: 158459
-
David Blaikie authored
llvm-svn: 158458
-
James Dennett authored
OBJC_AT_KEYWORD_NAME take a string literal argument where previously its second argument was an unquoted token; macro invocations such as OBJC_AT_KEYWORD_NAME(NeedAt,{) confuse Doxygen's parser. While I'm wary of changing code (rather than just comments) to work around Doxygen's limitations, in this case the change makes the code more readable for human beings as well, and the macro derived no benefit from using the preprocessor's stringification operator, as it never has need of the unquoted token. I've also included a couple of trivial drive-by fixes to doc comments. llvm-svn: 158440
-
Richard Trieu authored
bits wide. llvm-svn: 158425
-
Richard Trieu authored
llvm-svn: 158424
-
NAKAMURA Takumi authored
test/Driver/warning-options.cpp: Mark as XFAIL:cygming. -pedantic is passed with gcc-as driver. PR12920 llvm-svn: 158423
-