Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: Convert some docs to reST. | Sean Silva | 2012-12-12 | 1 | -2082/+0 |
| | | | | | | | | | | | | | | | Converts: LanguageExtensions LibASTMatchers LibTooling PCHInternals ThreadSanitizer Tooling Patch by Mykhailo Pustovit! (with minor edits by Dmitri Gribenko and Sean Silva) llvm-svn: 170048 | ||||
* | Add the Microsoft __is_interface_class type trait. | John McCall | 2012-09-25 | 1 | -0/+1 |
| | | | | | | Patch by Andy Gibbs! llvm-svn: 164591 | ||||
* | Added an example of an empty case label to avoid confusion. | Alexander Kornienko | 2012-09-17 | 1 | -1/+2 |
| | | | | llvm-svn: 164055 | ||||
* | Documentation: correct a typo introduced in r162971. | Dmitri Gribenko | 2012-08-31 | 1 | -1/+1 |
| | | | | llvm-svn: 162975 | ||||
* | Documentation: add missing word "accepts". | Dmitri Gribenko | 2012-08-31 | 1 | -2/+2 |
| | | | | llvm-svn: 162971 | ||||
* | Add support for "type safety" attributes that allow checking that 'void *' | Dmitri Gribenko | 2012-08-17 | 1 | -0/+162 |
| | | | | | | | | | | | | | | function arguments and arguments for variadic functions are of a particular type which is determined by some other argument to the same function call. Usecases include: * MPI library implementations, where these attributes enable checking that buffer type matches the passed MPI_Datatype; * for HDF5 library there is a similar usecase as MPI; * checking types of variadic functions' arguments for functions like fcntl() and ioctl(). llvm-svn: 162067 | ||||
* | Add __builtin_readcyclecounter() to produce the @llvm.readcyclecounter() ↵ | Hal Finkel | 2012-08-05 | 1 | -0/+37 |
| | | | | | | intrinsic. llvm-svn: 161310 | ||||
* | document _has_feature(objc_default_synthesize_properties). | Fariborz Jahanian | 2012-06-18 | 1 | -0/+10 |
| | | | | | | // rdar://11676972 llvm-svn: 158665 | ||||
* | Close HTML tag properly. | Dmitri Gribenko | 2012-05-27 | 1 | -1/+1 |
| | | | | llvm-svn: 157533 | ||||
* | Fix typo and avoid layout issue with almost-but-not-quite-fixed-width fonts. | Richard Smith | 2012-05-03 | 1 | -2/+1 |
| | | | | llvm-svn: 156095 | ||||
* | Minor copy-edits to clang::fallthrough attribute documentation. | Richard Smith | 2012-05-03 | 1 | -9/+9 |
| | | | | llvm-svn: 156094 | ||||
* | Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between | Richard Smith | 2012-05-03 | 1 | -0/+54 |
| | | | | | | | | | | | | cases in switch statements. Also add a [[clang::fallthrough]] attribute, which can be used to suppress the warning in the case of intentional fallthrough. Patch by Alexander Kornienko! The handling of C++11 attribute namespaces in this patch is temporary, and will be replaced with a cleaner mechanism in a subsequent patch. llvm-svn: 156086 | ||||
* | Formatting fix. | Richard Smith | 2012-04-19 | 1 | -2/+2 |
| | | | | llvm-svn: 155141 | ||||
* | Implements boxed expressions for Objective-C. <rdar://problem/10194391> | Patrick Beard | 2012-04-19 | 1 | -3/+11 |
| | | | | llvm-svn: 155082 | ||||
* | Provide, and document, a set of __c11_atomic_* intrinsics to implement C11's | Richard Smith | 2012-04-11 | 1 | -33/+67 |
| | | | | | | | | | <stdatomic.h> header. In passing, fix LanguageExtensions to note that C11 and C++11 are no longer "upcoming standards" but are now actually standardized. llvm-svn: 154513 | ||||
* | Add a query macro for C++11 N3276, decltype does not require complete | Douglas Gregor | 2012-04-10 | 1 | -1/+5 |
| | | | | | | return types, from Michel Morin! llvm-svn: 154428 | ||||
* | [Lex] Add support for 'user specified system frameworks' (see test case). | Daniel Dunbar | 2012-04-05 | 1 | -0/+29 |
| | | | | | | - Developers of system frameworks need a way for their framework to be treated as a "system framework" during development. Otherwise, they are unable to properly test how their framework behaves when installed because of the semantic changes (in warning behavior) applied to system frameworks. llvm-svn: 154105 | ||||
* | Add feature check "cxx_local_type_template_args" describing support | Douglas Gregor | 2012-04-04 | 1 | -0/+7 |
| | | | | | | | for templates with local template arguments, from Michel Morin! Fixes PR12337. llvm-svn: 153983 | ||||
* | Removed repeated word (of of). | Patrick Beard | 2012-03-21 | 1 | -1/+1 |
| | | | | llvm-svn: 153195 | ||||
* | Fixed typo. | Patrick Beard | 2012-03-20 | 1 | -1/+1 |
| | | | | llvm-svn: 153142 | ||||
* | Added summary section for Object Literals and Subscripting, which contains ↵ | Patrick Beard | 2012-03-20 | 1 | -1/+7 |
| | | | | | | the external link. llvm-svn: 153141 | ||||
* | Link to Objective-C literals documentation. | Patrick Beard | 2012-03-20 | 1 | -0/+1 |
| | | | | llvm-svn: 153124 | ||||
* | LanguageExtensions: Manually word wrap a line to reduce horizontal scrolling. | Benjamin Kramer | 2012-03-19 | 1 | -1/+2 |
| | | | | llvm-svn: 153048 | ||||
* | Document the weak-linking behavior of the availability attribute | Douglas Gregor | 2012-03-11 | 1 | -0/+6 |
| | | | | llvm-svn: 152543 | ||||
* | Document the availability attribute | Douglas Gregor | 2012-03-11 | 1 | -0/+44 |
| | | | | llvm-svn: 152531 | ||||
* | Clarify even further that the lambda-to-block-pointer conversion is only ↵ | Douglas Gregor | 2012-03-10 | 1 | -0/+4 |
| | | | | | | available in Objective-C++ llvm-svn: 152511 | ||||
* | Document the conversion from a lambda closure type to a block pointer | Douglas Gregor | 2012-03-09 | 1 | -0/+57 |
| | | | | | | in Objective-C++. llvm-svn: 152446 | ||||
* | User-defined literals are done. | Richard Smith | 2012-03-09 | 1 | -1/+1 |
| | | | | llvm-svn: 152396 | ||||
* | Correct the documentation to give a legal example of a raw string literal. | Richard Smith | 2012-03-07 | 1 | -1/+2 |
| | | | | llvm-svn: 152216 | ||||
* | Add a pile of tests for unrestricted unions, and advertise support for them. | Richard Smith | 2012-03-03 | 1 | -1/+1 |
| | | | | llvm-svn: 151992 | ||||
* | Implement double underscore names support in __has_attribute | Jean-Daniel Dupas | 2012-03-01 | 1 | -0/+5 |
| | | | | llvm-svn: 151809 | ||||
* | Correct an example of a feature name to actually use a feature name rather | Richard Smith | 2012-03-01 | 1 | -2/+2 |
| | | | | | | than an attribute name. Patch by Michel Morin! llvm-svn: 151791 | ||||
* | Update release notes and language extensions pages to note that support for | Richard Smith | 2012-02-26 | 1 | -2/+1 |
| | | | | | | generalized initializers is available. llvm-svn: 151477 | ||||
* | Accept __has_feature(__feature__) as a synonym for __has_feature(feature) (and | Richard Smith | 2012-02-25 | 1 | -0/+5 |
| | | | | | | likewise for __has_extension). Patch by Jonathan Sauer! llvm-svn: 151445 | ||||
* | Implement a new type trait __is_trivially_constructible(T, Args...) | Douglas Gregor | 2012-02-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | that provides the behavior of the C++11 library trait std::is_trivially_constructible<T, Args...>, which can't be implemented purely as a library. Since __is_trivially_constructible can have zero or more arguments, I needed to add Yet Another Type Trait Expression Class, this one handling arbitrary arguments. The next step will be to migrate UnaryTypeTrait and BinaryTypeTrait over to this new, more general TypeTrait class. Fixes the Clang side of <rdar://problem/10895483> / PR12038. llvm-svn: 151352 | ||||
* | Clang supports lambdas. | Douglas Gregor | 2012-02-23 | 1 | -1/+1 |
| | | | | llvm-svn: 151239 | ||||
* | Advertize support for constexpr. | Richard Smith | 2012-02-14 | 1 | -1/+1 |
| | | | | llvm-svn: 150524 | ||||
* | The following patch adds __attribute__((no_address_safety_analysis)) which ↵ | Kostya Serebryany | 2012-01-24 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | will allow to disable address safety analysis (such as e.g. AddressSanitizer or SAFECode) for a specific function. When building with AddressSanitizer, add AddressSafety function attribute to every generated function except for those that have __attribute__((no_address_safety_analysis)). With this patch we will be able to 1. disable AddressSanitizer for a particular function 2. disable AddressSanitizer-hostile optimizations (such as some cases of load widening) when AddressSanitizer is on. llvm-svn: 148842 | ||||
* | Tweak markup. | Benjamin Kramer | 2012-01-15 | 1 | -11/+13 |
| | | | | llvm-svn: 148221 | ||||
* | added descriptions of vector extensions, info about vector literals and ↵ | Anton Yartsev | 2012-01-15 | 1 | -3/+157 |
| | | | | | | vector operations. llvm-svn: 148220 | ||||
* | Fix ALL the markup. | Benjamin Kramer | 2012-01-15 | 1 | -3/+5 |
| | | | | llvm-svn: 148219 | ||||
* | Mass rename C1x references to C11. The name hasn't proliferated like "C++0x" ↵ | Benjamin Kramer | 2011-12-23 | 1 | -12/+12 |
| | | | | | | | | so this patch is surprisingly small. Also drop -Wc1x-extensions in favor of -Wc11-extensions. I don't think we need to keep this around for compatibility. llvm-svn: 147221 | ||||
* | clarify that clang version number macros are marketing version #'s, not ↵ | Chris Lattner | 2011-12-15 | 1 | -7/+12 |
| | | | | | | something useful. llvm-svn: 146672 | ||||
* | Implement support for the __is_final type trait, to determine whether | Douglas Gregor | 2011-12-03 | 1 | -0/+1 |
| | | | | | | | a class is marked 'final', from Alberto Ganesh Barbati! Fixes PR11462. llvm-svn: 145775 | ||||
* | First version of AddressSanitizer docs; documentation for ↵ | Kostya Serebryany | 2011-11-28 | 1 | -0/+17 |
| | | | | | | __has_feature(address_sanitizer) llvm-svn: 145276 | ||||
* | Fix grammaro | Douglas Gregor | 2011-11-03 | 1 | -1/+1 |
| | | | | llvm-svn: 143633 | ||||
* | Add __has_feature(cxx_defaulted_functions) for querying "defaulted | Douglas Gregor | 2011-11-01 | 1 | -0/+7 |
| | | | | | | functions", from Michel Morin! llvm-svn: 143411 | ||||
* | Update documentation to use "C++11" instead of "C++0x" | David Blaikie | 2011-10-18 | 1 | -74/+75 |
| | | | | llvm-svn: 142339 | ||||
* | Add c_alignas and cxx_alignas features | Peter Collingbourne | 2011-10-14 | 1 | -0/+14 |
| | | | | llvm-svn: 142020 | ||||
* | Implement built-in macro '__has_warning', which allows one to query if a ↵ | Ted Kremenek | 2011-10-12 | 1 | -0/+17 |
| | | | | | | warning flag is valid. Fixes <rdar://problem/10263428>. llvm-svn: 141802 |