summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
* Update documentation to use "C++11" instead of "C++0x"David Blaikie2011-10-184-82/+83
| | | | llvm-svn: 142339
* Enable CREATE_SUBDIRS for a performance win, because there are a lot of ↵Bill Wendling2011-10-161-1/+1
| | | | | | files being generated. llvm-svn: 142113
* Internals manual: eliminate mention of System libraryPeter Collingbourne2011-10-151-8/+6
| | | | llvm-svn: 142074
* Add c_alignas and cxx_alignas featuresPeter Collingbourne2011-10-141-0/+14
| | | | llvm-svn: 142020
* Fix grammaroDouglas Gregor2011-10-141-1/+1
| | | | llvm-svn: 141927
* Implement built-in macro '__has_warning', which allows one to query if a ↵Ted Kremenek2011-10-121-0/+17
| | | | | | warning flag is valid. Fixes <rdar://problem/10263428>. llvm-svn: 141802
* Introduce BalancedDelimiterTracker, to better track open/closeDouglas Gregor2011-10-121-1/+1
| | | | | | | delimiter pairs and detect when we exceed the implementation limit for nesting depth, from Aaron Ballman! llvm-svn: 141782
* Driver: Add support for a new -nostdlibinc option.Daniel Dunbar2011-10-111-1/+7
| | | | | | | | | | | | - This disables the system include directories, but not the compiler builtin directories. Useful for projects that want to use things like the intrinsic headers, but are otherwise freestanding. - I'm willing to reconsider the option naming, I also considered providing an explicit -builtinc (which would match -nobuiltininc), but this is more consistent with existing options. llvm-svn: 141692
* Now that we support move generation, mention this in the language extension ↵Sebastian Redl2011-10-101-1/+2
| | | | | | and C++ status pages. Also update the C++ status for default functions, which are complete now that we can generate move functions, and destructor exception specifications, which I did a while ago. llvm-svn: 141558
* Revert my --working-directory option, which wasn't well thought through.Daniel Dunbar2011-09-301-7/+0
| | | | llvm-svn: 140889
* Add a section detailing the steps required to add an expression orDouglas Gregor2011-09-301-0/+223
| | | | | | statement to Clang. llvm-svn: 140888
* Driver: Add a --working-directory option which can be used to cause the compilerDaniel Dunbar2011-09-231-0/+7
| | | | | | | | | | to operate "as if" in a certain working directory. - For now, we just implement this by changing the actual working directory, but eventually we would want to handle this transparently. This is useful to avoid an extra exec() pair in some situations, and will be something we would want to support for more flexibility in using the Clang libraries. llvm-svn: 140409
* Add list initialization for complex numbers in C. Essentially, this allows ↵Eli Friedman2011-09-191-1/+37
| | | | | | | | "_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description. <rdar://problem/9397672>. llvm-svn: 140090
* Document __has_feature(objc_instancetype).Douglas Gregor2011-09-081-0/+3
| | | | llvm-svn: 139299
* Allow C++0x enumerations with a fixed underlying type inDouglas Gregor2011-09-081-0/+19
| | | | | | | Objective-C. The @encode'ing of such an enumeration type is the same as its underlying type. <rdar://problem/5276348>. llvm-svn: 139297
* Implement the Objective-C 'instancetype' type, which is an alias ofDouglas Gregor2011-09-081-3/+15
| | | | | | | | | | 'id' that can be used (only!) via a contextual keyword as the result type of an Objective-C message send. 'instancetype' then gives the method a related result type, which we have already been inferring for a variety of methods (new, alloc, init, self, retain). Addresses <rdar://problem/9267640>. llvm-svn: 139275
* Update mingw-w64 part of the user manual, from Ruben Van Boxem!Douglas Gregor2011-08-301-8/+18
| | | | llvm-svn: 138788
* Add and document __has_feature values for the remaining C++0xDouglas Gregor2011-08-291-34/+79
| | | | | | | features, so clients can check for the availability of these features even before we get around to implementing them. llvm-svn: 138741
* Add documentation on -Weverything.Ted Kremenek2011-08-181-0/+11
| | | | llvm-svn: 137911
* docs/doxygen.css: Import .memitem, .memproto and .memdoc from llvm/doxygen.NAKAMURA Takumi2011-08-121-0/+30
| | | | llvm-svn: 137435
* Thread Safety: Added basic argument parsing for all new attributes.Caitlin Sadowski2011-08-091-34/+29
| | | | | | | | | | | | This patch special cases the parser for thread safety attributes so that all attribute arguments are put in the argument list (instead of a special parameter) since arguments may not otherwise resolve correctly without two-token lookahead. This patch also adds checks to make sure that attribute arguments are lockable objects. llvm-svn: 137130
* Add a __has_feature macro for generalized initializers, turned offAlexis Hunt2011-08-071-0/+8
| | | | | | because we don't support them yet. llvm-svn: 137027
* Added basic parsing for all remaining attributes, thread safetyCaitlin Sadowski2011-07-281-16/+133
| | | | | | | analysis. This includes checking that the attributes are applied in the correct contexts and with the correct number of arguments. llvm-svn: 136383
* Thread safety: Fix typo in documentationCaitlin Sadowski2011-07-281-1/+1
| | | | llvm-svn: 136370
* Added parsing for guarded_var, pt_guarded_var, lockable,Caitlin Sadowski2011-07-281-0/+52
| | | | | | scoped_lockable, and no_thread_safety_analysis attributes, all for thread safety analysis llvm-svn: 136364
* Document the existing objc_precise_lifetime attribute.John McCall2011-07-221-0/+83
| | | | | | | | | Introduce and document a new objc_returns_inner_pointer attribute, and consume it by performing a retain+autorelease on message receivers when they're not immediately loaded from an object with precise lifetime. llvm-svn: 135764
* Thanks to Chandler for reminding me to update the documentation for theAlexis Hunt2011-07-181-0/+1
| | | | | | __underlying_type feature. llvm-svn: 135402
* Document the behavior of property modifiers in ARC.John McCall2011-07-131-0/+37
| | | | | | rdar://problem/9768338 llvm-svn: 135104
* Fix another typo (int -> id for captured_obj).David Chisnall2011-07-121-1/+1
| | | | llvm-svn: 134998
* Fix example: variable is initialized to 10 and then has 11 stored in it, but ↵David Chisnall2011-07-071-1/+1
| | | | | | in the expanded version is initialized to 11. llvm-svn: 134610
* Move and elaborate the section on objc_arc_weak_unavailable.John McCall2011-07-071-5/+33
| | | | llvm-svn: 134567
* Update document for objc_arc_weak_unavailable attributeFariborz Jahanian2011-07-061-1/+4
| | | | | | on class declarations. Documentation for // rdar://9693477 llvm-svn: 134558
* Update document on use of ns_returns_not_retainedFariborz Jahanian2011-07-061-1/+7
| | | | | | attribute on property. Document for // rdar://9636091. llvm-svn: 134556
* Update documentation for // rdar://9619861Fariborz Jahanian2011-07-061-2/+3
| | | | llvm-svn: 134544
* Update docs to remove reference to OverloadedFunctionDecl and replace it ↵Jonathan D. Turner2011-07-061-4/+4
| | | | | | with DeclContext::lookup_result. llvm-svn: 134514
* fix typoChris Lattner2011-07-031-1/+1
| | | | llvm-svn: 134361
* Remove reference to the Index libraryDouglas Gregor2011-07-011-1/+0
| | | | llvm-svn: 134238
* Remove doxygen.cfg to prevent accidental commits, it is generated from ↵Benjamin Kramer2011-06-291-1230/+0
| | | | | | doxygen.cfg.in. llvm-svn: 134072
* Revert accidental commit.Evan Cheng2011-06-291-12/+12
| | | | llvm-svn: 134052
* SubtargetFeature.h has been moved to MC.Evan Cheng2011-06-291-0/+1230
| | | | llvm-svn: 134050
* Add documentation about __has_feature(cxx_delegationg_constructors)Alexis Hunt2011-06-231-0/+6
| | | | llvm-svn: 133693
* Fix a minor copy-paste-o that broke the stylesheetsAlexis Hunt2011-06-231-2/+2
| | | | llvm-svn: 133678
* Fix a bunch of HTML compliance problems with LanguageExtensions.htmlAlexis Hunt2011-06-231-51/+55
| | | | | | | | | One weird thing is the addition of several <a name=""> tags where previously there were id attributes on the <h3> tags. This is because the id attribute must begin with a letter, not an underscore. The name attribute is not so constrained, so links will continue to work. llvm-svn: 133677
* Revert "-fexceptions does not, in fact, enable C++ exceptions"Alexis Hunt2011-06-231-1/+1
| | | | | | | In fact it does. For the driver anyway, and not cc1 which I'm supposed to pretend doesn't exist. llvm-svn: 133673
* -fexceptions does not, in fact, enable C++ exceptionsAlexis Hunt2011-06-221-1/+1
| | | | llvm-svn: 133666
* More clarifications.John McCall2011-06-191-15/+16
| | | | llvm-svn: 133387
* Improve the intro to the runtime-functions section.John McCall2011-06-191-4/+27
| | | | llvm-svn: 133386
* Describe the ARC runtime support calls.John McCall2011-06-191-0/+265
| | | | llvm-svn: 133385
* Clarify the semantics of init methods, and point out a few placesJohn McCall2011-06-181-38/+67
| | | | | | where mismatched semantics can cause undefined behavior. llvm-svn: 133341
* A couple of minor changes to the ARC spec, plus a new sectionJohn McCall2011-06-181-1/+98
| | | | | | | specifying that retain/release/autorelease/retainCount are forbidden, plus a section talking about the behavior of dealloc. llvm-svn: 133340
OpenPOWER on IntegriCloud