summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'DistinctSpellings' support from Attr.td and change its only user toRichard Smith2013-11-274-99/+69
| | | | | | | | look at the attribute spelling instead. The 'ownership_*' attributes should probably be split into separate *Attr classes, but that's more than I wanted to do here. llvm-svn: 195805
* [AArch64] Add support for NEON scalar floating-point absolute difference.Chad Rosier2013-11-273-0/+21
| | | | llvm-svn: 195804
* Fix the build break introduced by r195799 by restoring two closeChandler Carruth2013-11-271-1/+2
| | | | | | curlies. llvm-svn: 195802
* Documentation cleanup: Doxygen-ification, typo fixes, and changing some ofJames Dennett2013-11-273-256/+300
| | | | | | | the duplicated documentation from .cpp files so that it's not processed by Doxygen and hence doesn't generate duplicate output. llvm-svn: 195799
* Remove unused entity from .td file.Richard Smith2013-11-261-2/+0
| | | | llvm-svn: 195792
* [AArch64] Add support for NEON scalar floating-point to integer convertChad Rosier2013-11-263-0/+214
| | | | | | instructions. llvm-svn: 195789
* Thread safety analysis: fix ICE due to missing null check on dyn_cast.DeLesley Hutchins2013-11-262-6/+23
| | | | llvm-svn: 195777
* Replacing a custom diagnostic with a more standard one. No functional change ↵Aaron Ballman2013-11-263-6/+5
| | | | | | intended. llvm-svn: 195770
* Don't call getMostRecentDecl when we know we have it.Rafael Espindola2013-11-261-11/+22
| | | | | | On a Release build this takes the testcase in pr18055 from 0m3.892s to 0m1.452s. llvm-svn: 195768
* Move these virtual methods out of line.Rafael Espindola2013-11-262-15/+15
| | | | llvm-svn: 195767
* Changed non-printable characters in the test to the escaped form. ↵Alexander Kornienko2013-11-261-6/+6
| | | | | | Apparently, not all tools display non-printable characters ;) llvm-svn: 195761
* fix a typoGabor Greif2013-11-261-1/+1
| | | | llvm-svn: 195760
* [Mips] Pass -mmsa option to the assembler.Simon Atanasyan2013-11-262-0/+18
| | | | llvm-svn: 195756
* [Mips] Replace explicit argument handling by the single ↵Simon Atanasyan2013-11-261-7/+1
| | | | | | ArgList::AddLastArg() call. llvm-svn: 195755
* [Mips] Reduce number of FileCheck variables used in the tests.Simon Atanasyan2013-11-262-467/+467
| | | | llvm-svn: 195754
* [Mips] Add support for nan2008 libraries and headers look up for CodeSimon Atanasyan2013-11-2616-0/+58
| | | | | | Sourcery MIPS toolchain. llvm-svn: 195753
* [Mips] Merge two MIPS Code Sourcery toolchain tests into the single one.Simon Atanasyan2013-11-263-545/+448
| | | | llvm-svn: 195752
* [Mips] Do not detect a used MIPS toolchain. Build a path suffix for FSFSimon Atanasyan2013-11-262-51/+47
| | | | | | | toolchain first and check the path existence. If the path does not exist build and check a path suffix for Code Sourcery toolchain. llvm-svn: 195751
* [Mips] Call findMIPSABIDirSuffix() for MIPS targets only.Simon Atanasyan2013-11-261-4/+2
| | | | llvm-svn: 195750
* Fix crash in getStringSplit.Alexander Kornienko2013-11-263-7/+19
| | | | | | | | | | | | | | | | Summary: getStringSplit used to crash, when trying to split a long string literal containing both printable and unprintable multi-byte UTF-8 characters. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2268 llvm-svn: 195728
* Remove some unused localsAlp Toker2013-11-262-3/+1
| | | | llvm-svn: 195714
* Unbreak -fms-extensions with GNU libc headersAlp Toker2013-11-264-4/+35
| | | | | | | | | | | | | GNU libc uses '__uptr' as a member name in C mode, conflicting with the eponymous MSVC pointer modifier keyword. Detect and mark the token as an identifier when these specific conditions are met. __uptr will continue to work as a keyword for the remainder of the translation unit. Fixes PR17824. llvm-svn: 195710
* Fix buildbot.Richard Smith2013-11-261-1/+1
| | | | llvm-svn: 195703
* Clang format VS plugin: update build prerequisites in the READMEHans Wennborg2013-11-251-1/+2
| | | | llvm-svn: 195690
* PR18044: Reject declarations of enumtype::X early to avoid an assertion inRichard Smith2013-11-252-1/+15
| | | | | | downstream code. llvm-svn: 195687
* Make the integrated assembler the default for cygwin/mingw too.Rafael Espindola2013-11-254-13/+18
| | | | | | | The integrated assembler was already the default for win32. It is now able to handle a clang bootstrap on mingw, so make it the default. llvm-svn: 195676
* Making type_tag_for_datatype consistent with its declared subject from ↵Aaron Ballman2013-11-252-2/+8
| | | | | | | | Attr.td. Also updated the related testcase. Reviewed by Dmitri Gribenko. llvm-svn: 195675
* Fix test failure on targets where size_t is unsigned int.Richard Smith2013-11-251-1/+1
| | | | llvm-svn: 195673
* [-cxx-abi microsoft] Create backrefs for <unnamed-type-`id'>David Majnemer2013-11-252-16/+26
| | | | | | | | | | | | | | | It wasn't possible for an anonymous type to show up inside of function arguments. However, decltype (which MSVC added support for in 2010) makes this possible. Further, backrefs to these anonymous types can now be formed. This fixes PR18022. N.B. We do not, and very likely _will not_, support MSVC's bug where subsequent typedefs of anonymous types leak into the linkage name; this is a gross violation of the ABI. A warning should be introduced to inform our users of this particular shortcoming. llvm-svn: 195669
* Another pass at adding missing matchers into the registry.Samuel Benzaquen2013-11-251-0/+15
| | | | | | | | | | | | Summary: Another pass at adding missing matchers into the registry. Reviewers: klimek CC: cfe-commits, revane, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2253 llvm-svn: 195647
* [ARM] Enable FeatureMP for Cortex-A5 by default.Amara Emerson2013-11-251-0/+22
| | | | | | Patch by Oliver Stannard. llvm-svn: 195641
* clang-format: Fix formatting of empty files (fixes c-index-tests).Daniel Jasper2013-11-251-2/+3
| | | | llvm-svn: 195638
* clang-format: Refactor calculation of lines intersecting with -lines.Daniel Jasper2013-11-254-77/+124
| | | | | | | | No functional changes intended. However, it seems to have found a buggy behavior in one of the tests. I think this structure is generally desirable and it will make a planned bugfix significantly easier. llvm-svn: 195634
* Tests for core issues 270-300.Richard Smith2013-11-253-26/+322
| | | | llvm-svn: 195626
* Take cv-qualifiers on fields of class type into account when determiningRichard Smith2013-11-256-3/+57
| | | | | | whether a defaulted special member function should be deleted. llvm-svn: 195620
* SemaDeclAttr.cpp: Try to fix a warning [-Wunnamed-type-template-args]NAKAMURA Takumi2013-11-251-1/+1
| | | | llvm-svn: 195589
* Add heading and remove leftover personal email addressesAlp Toker2013-11-252-7/+9
| | | | | | | | | | | | | | clang's attribute support is mature by now so replace Sean's warning and email address with a standard LLVM copyright heading. Also remove a personal email address and credit docstring from CGObjCGNU that shouldn't have been there. This is in line with the LLVM developer policy introduced in r45410. Contributors can add themselves to CREDITS.txt while active module owners are listed in CODE_OWNERS.TXT. llvm-svn: 195587
* remove gcc::PrecompileRafael Espindola2013-11-244-22/+0
| | | | | | | | | | | | | | | Clang still has support for running gcc for performing various stages of a build. Right now it looks like this is used for * Supporting Fortran in the clang driver * Running an assembler or linker in systems we don't yet know how to run them directly. It looks like the gcc::Precompile is a vestige from the days when we supported using clang for C and running gcc for c++. This patch removes it (yes, we have no tests for it). llvm-svn: 195586
* Remove the Darwin_Generic_GCC toolchain.Rafael Espindola2013-11-243-26/+1
| | | | | | | | | | | This is currently unused by any test. The code path would still be hit by clang on ppc, but * PPC has not been supported on current versions of OS X * A port of current clang to older OS X on ppc should be using toolchains::DarwinClang. llvm-svn: 195585
* Switching the common attribute over to using the generic diagnostic, and ↵Aaron Ballman2013-11-243-4/+3
| | | | | | removing the now-unused diagnostic. Updates a test case. llvm-svn: 195581
* __declspec(uuid) is only supported for C++ code according to MSDN (as well ↵Aaron Ballman2013-11-243-4/+17
| | | | | | as behaviorally in MSVC). This adds a generic diagnostic that we use for uuid, and can use for some other attributes as well, and adds a testcase. llvm-svn: 195580
* __declspec(uuid) is only allowed on a class according to MSDN; this makes ↵Aaron Ballman2013-11-242-1/+7
| | | | | | the semantic checking consistent with what the attribute specifies in Attr.td. Also adds a test case. llvm-svn: 195579
* Making some attribute diagnostics more consistent. Removes a newly-unused ↵Aaron Ballman2013-11-244-5/+10
| | | | | | | | diagnostic. Reviewed by Fariborz Jahanian llvm-svn: 195578
* Parse Microsoft __declspec appearing after class bodyAlp Toker2013-11-242-0/+12
| | | | | | | | | | MSVC applies these to the following declaration only if present, otherwise silently ignores them whereas we'll issue a warning. Handling differs from ordinary attributes appearing in the same place, so add a Sema test to make sure we get it right. llvm-svn: 195577
* [test] Add test case I forgot to add for r195564.Argyrios Kyrtzidis2013-11-241-0/+10
| | | | llvm-svn: 195572
* [Parser] Unbreak parsing with incremental parsing enabled and add a ↵Argyrios Kyrtzidis2013-11-242-3/+33
| | | | | | unit-test for it. llvm-svn: 195564
* Fix a typo: "SLocEnty" should read "SLocEntry".James Dennett2013-11-242-2/+2
| | | | llvm-svn: 195563
* Use specific_attr_iterator to tighten loop over ObjCSuppressProtocolAttrs.Ted Kremenek2013-11-231-8/+4
| | | | llvm-svn: 195561
* Remove optional parameter bit from attribute ObjCSuppressProtocol.Ted Kremenek2013-11-233-5/+4
| | | | | | This refines some diagnostics and reduces some boilerplate checking logic. llvm-svn: 195560
* Move logic to check if a class is tagged with objc_suppress_protocol_methods ↵Ted Kremenek2013-11-232-12/+22
| | | | | | into a helper. llvm-svn: 195559
OpenPOWER on IntegriCloud