summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Add fix-it to remove 'typedef' from function template definitions. Such a tokenRichard Smith2011-11-292-6/+15
| | | | | | | was probably meant to be 'typename', which we will have already suggested if it is appropriate. llvm-svn: 145395
* Fix leaking of LexedMethod objects created for caching objc method ↵Argyrios Kyrtzidis2011-11-293-1/+14
| | | | | | | | definitions tokens for late parsing. llvm-svn: 145394
* [libclang] Fix leak in clang_indexSourceFile_ImplArgyrios Kyrtzidis2011-11-291-1/+2
| | | | llvm-svn: 145393
* [Win32] Catch exceptions (eg. segfault) on waiting for invoked clang from ↵NAKAMURA Takumi2011-11-291-1/+7
| | | | | | | | | | | | the driver. 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
* [libclang] Make the test portable.Argyrios Kyrtzidis2011-11-291-1/+1
| | | | llvm-svn: 145377
* PR10101: Recover better from a common copy-paste error: if a functionRichard Smith2011-11-297-11/+80
| | | | | | | | 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
* [libclang] Make clang_findReferencesInFile also work on macros (find all ↵Argyrios Kyrtzidis2011-11-294-11/+136
| | | | | | | | | | | | | expansions/definition of a macro in a file). As a bonus, also make searching for declarations more efficient by ignoring preprocessing entities when we know that we are looking for a declaration. Fixes rdar://10427411. llvm-svn: 145369
* Add Clang release notes for OpenCL C support.Peter Collingbourne2011-11-291-7/+14
| | | | llvm-svn: 145360
* Fix URL typo.Peter Collingbourne2011-11-291-1/+1
| | | | llvm-svn: 145359
* objc: warn if NSObject attribute appears other than in a typedef.Fariborz Jahanian2011-11-294-4/+23
| | | | | | // rdar://10453342 llvm-svn: 145358
* Fix serialized diagnostics to handle FixIts that only remove text. Fixes ↵Ted Kremenek2011-11-292-6/+33
| | | | | | <rdar://problem/10473903>. llvm-svn: 145339
* Fix a spelling error pointed out by Sebastien, and tidy up theChandler Carruth2011-11-291-2/+3
| | | | | | formatting here a bit... mostly to my preferred bikeshed-blue. llvm-svn: 145337
* Remove the last of my notes. I don't think these really need to be inChandler Carruth2011-11-291-11/+0
| | | | | | | | | | | the release notes despite their awesomeness. If we had a thorough discussion of the performance of Clang in 2.9 vs. 3.0, the first would be more relevant, but we don't. The serialization stuff hopefully isn't terribly visible to end users. Objections to these omissions are of course welcome. =] llvm-svn: 145336
* Last major chunk of features. This covers a couple of languageChandler Carruth2011-11-291-4/+32
| | | | | | | extensions and one infrastructure feature addition that has a direct impact on other projects which use Clang. llvm-svn: 145335
* And sink the GNU runtime bit into this section as a stub.Chandler Carruth2011-11-291-1/+7
| | | | llvm-svn: 145334
* Flesh out the Objective-C section a bit. This may well need some loveChandler Carruth2011-11-291-2/+18
| | | | | | from the Objective-C experts, but the basic stuff is there now. llvm-svn: 145333
* The _setjmp builtin library function should have the "returns twice"Bill Wendling2011-11-291-1/+2
| | | | | | | | attribute. This prevents the stack slot allocator from coming along and using a stack which it thinks is available but isn't. <rdar://problem/10492556> llvm-svn: 145332
* Add a couple more GCC versions to C++ search paths for MinGW. Patch by ↵Eli Friedman2011-11-281-0/+2
| | | | | | | | Ruben Van Boxem. (We should probably start doing some sort of autodetection like we do on Linux at some point.) llvm-svn: 145326
* CFI is mentioned on the LLVM releases as the clang bits are relatively small.Rafael Espindola2011-11-281-9/+0
| | | | llvm-svn: 145325
* A couple driver fixes for PPC Linux. Patches by Michael Kostylev. ↵Eli Friedman2011-11-282-1/+10
| | | | | | PR11444/PR11445. llvm-svn: 145321
* Update release notes with 2 features now supported in -fms-extensions mode. Francois Pichet2011-11-281-0/+2
| | | | | | I think that's enough for my release notes. llvm-svn: 145320
* Release notes: add link to ISO C++ 2011 standard from the C++11 section.Richard Smith2011-11-281-3/+4
| | | | llvm-svn: 145317
* Update release notes with information on MSVC mode.Francois Pichet2011-11-281-2/+5
| | | | llvm-svn: 145315
* Correct the code generation for function arguments of vec3 types on x86_64 ↵Tanya Lattner2011-11-282-1/+9
| | | | | | | | when they are greater than 128 bits. This was incorrectly coercing things like long3 into a double2. Add test case. llvm-svn: 145312
* Release notes: fix up formatting of diagnostic example.Richard Smith2011-11-281-5/+4
| | | | llvm-svn: 145311
* When attempting to load a module that is not in the module cache,Douglas Gregor2011-11-283-64/+41
| | | | | | | | return the module itself (in the module map) rather than returning the umbrella header used to build the module. While doing this, make sure that we're inferring modules for frameworks to build that module. llvm-svn: 145310
* Extract a Windows section in the release notes. Hopefully this is moreChandler Carruth2011-11-281-6/+13
| | | | | | | | accurate than my original notes were based on IRC conversations. Windows folks, please edit as needed to make this closer to the truth if I've still got it wrong. llvm-svn: 145309
* Create a stub for Nick to hack on, nuking another of my rough notes.Chandler Carruth2011-11-281-1/+9
| | | | llvm-svn: 145308
* Pull the uninitialized values rewrite into the diagnostics section, andChandler Carruth2011-11-281-6/+8
| | | | | | | add a bit to that section about the many bug-finding warnings that Clang has grown since 2.9 as this is one of the more visible new additions. llvm-svn: 145307
* Remove some features that don't really seem major enough or widely usedChandler Carruth2011-11-281-5/+0
| | | | | | enough to merit space in the release notes. llvm-svn: 145306
* Add a release notes section for C1X language features supported by clang 3.0.Richard Smith2011-11-281-1/+11
| | | | llvm-svn: 145305
* Pull out the libclang section and try to clean it up some. This oneChandler Carruth2011-11-281-12/+16
| | | | | | feels a bit spartan currently. llvm-svn: 145302
* [libclang] Protect against the declaration's SourceRange being invalidArgyrios Kyrtzidis2011-11-281-0/+2
| | | | | | | | | before passing to RangeCompare. Though no idea how this can occur with the decls returned from findFileRegionDecls(). llvm-svn: 145301
* We now have text (or comment stubs for others) for these...Chandler Carruth2011-11-281-3/+0
| | | | llvm-svn: 145299
* Expand and clean up the diagnostics section.Chandler Carruth2011-11-281-11/+25
| | | | llvm-svn: 145298
* fix html markupKostya Serebryany2011-11-281-0/+3
| | | | llvm-svn: 145297
* Fix some possible gcc-4.2 may be used uninitialized warnings.Daniel Dunbar2011-11-281-1/+1
| | | | llvm-svn: 145293
* Create a more organized (but still commented out as not very useful)Chandler Carruth2011-11-281-2/+8
| | | | | | | | | stub for OpenCL work. I can't really dig enough out of the commit log messages other than to tell that a lot of work went into this in the 2.9 -> 3.0 timeframe. I'll let the folks touching it decide if it merits a spot in the release notes and provide the appropriate details if so. llvm-svn: 145291
* Add missing equals.Benjamin Kramer2011-11-281-2/+3
| | | | llvm-svn: 145290
* Create a 3.1 notes section in a comment so that the next batch are a bitChandler Carruth2011-11-281-2/+13
| | | | | | | | easier. Move the CUDA bits and the C1X/C++11 atomics stuff there. We haven't exposed a __has_feature for the atomic builtins, so none of this is available yet... llvm-svn: 145288
* Peter says this shouldn't make it to the relnotes, it's too immature atChandler Carruth2011-11-281-1/+0
| | | | | | this stage. llvm-svn: 145286
* Flesh out and pretty-up the driver section. This could probably use someChandler Carruth2011-11-281-12/+18
| | | | | | more love w.r.t. platforms other than Linux? llvm-svn: 145285
* Add a brief mention of the warning flag name updates associated with theChandler Carruth2011-11-281-0/+3
| | | | | | C++11 standard. llvm-svn: 145284
* Tidy up, wrap lines, and use <code> tags more consistently.Chandler Carruth2011-11-281-16/+17
| | | | llvm-svn: 145283
* Cleanup the Release Notes for the static analyzer:Anna Zaks2011-11-281-3/+1
| | | | | | | | | | | The performance improvement was committed after the 3.0 branch. Constructors/destructors are handled by the CFG, but we do not do anything special for them in the analyzer yet. Since we do not have an open source release qualification for the analyzer, we are not investing into creating the proper release notes for it. llvm-svn: 145281
* First version of AddressSanitizer docs; documentation for ↵Kostya Serebryany2011-11-282-0/+102
| | | | | | __has_feature(address_sanitizer) llvm-svn: 145276
* [analyzer] Add more simple taint tests.Anna Zaks2011-11-281-2/+17
| | | | llvm-svn: 145275
* [analyzer] Minor cleanup of SValBuilder: Comments + code reuse.Anna Zaks2011-11-282-13/+9
| | | | llvm-svn: 145274
* Fix comment.Rafael Espindola2011-11-281-1/+1
| | | | llvm-svn: 145271
* When synthesizing an implicitly-defined copy or move constructor, orDouglas Gregor2011-11-283-7/+80
| | | | | | | | when computing the exception specification of a copy or move constructor, ignore non-static data member initializers. Fixes PR11418 / <rdar://problem/10478642>. llvm-svn: 145269
OpenPOWER on IntegriCloud