summaryrefslogtreecommitdiffstats
path: root/clang/test
Commit message (Collapse)AuthorAgeFilesLines
* Re-revert the explicit template instantiation linkage patch. I am beginning ↵Douglas Gregor2010-03-138-27/+27
| | | | | | to look incompetent llvm-svn: 98425
* Reinstate patch to turn explicit template instantiations into weak symbolsDouglas Gregor2010-03-138-27/+27
| | | | llvm-svn: 98424
* Check compatibility of vector types using their canonicalizations.John McCall2010-03-121-1/+10
| | | | | | | | | Fixes an assertion arising C overload analysis, but really I can't imagine that this wouldn't cause a thousand other uncaught failures. Fixes PR6600. llvm-svn: 98400
* Improve the unused-value check to look into comma expressions and filter outJohn McCall2010-03-124-2/+72
| | | | | | | | voids in sub-expressions. Patch by Mike M! Fixes PR4806. llvm-svn: 98335
* Revert the linkage change for explicit template instantiations; something is ↵Douglas Gregor2010-03-128-27/+27
| | | | | | amiss llvm-svn: 98332
* Give explicit template instantiations weak linkage (but don't deferDouglas Gregor2010-03-128-27/+27
| | | | | | them). Fixes PR6578. llvm-svn: 98328
* Add an extra test to this test-case.John McCall2010-03-121-1/+7
| | | | llvm-svn: 98322
* Implement basic support for friend types and functions in non-dependentJohn McCall2010-03-121-1/+50
| | | | | | contexts. llvm-svn: 98321
* Warn about comparing an unsigned expression with 0 in tautological ways.John McCall2010-03-111-0/+8
| | | | | | Patch by mikem! llvm-svn: 98279
* Remember the PR number.John McCall2010-03-111-0/+2
| | | | llvm-svn: 98276
* Implement -Wmissing-field-initializers. Patch by mikem!John McCall2010-03-111-0/+48
| | | | llvm-svn: 98275
* Use -emit-llvm-only, to avoid leaving a temp around.Daniel Dunbar2010-03-111-1/+1
| | | | llvm-svn: 98267
* Add tentative support for accessing local variables withFariborz Jahanian2010-03-111-0/+23
| | | | | | | external linkage (static, extern, etc.) in blocks in rewriter. wip. llvm-svn: 98265
* fix PR6433, crash on va_arg of typedef.Chris Lattner2010-03-111-0/+11
| | | | llvm-svn: 98264
* Correctly mangle address of member in template arguments. Fixes PR6460Rafael Espindola2010-03-111-0/+39
| | | | llvm-svn: 98254
* Fix a self-host problem caused by this over-eager assertion. I'm not sureJohn McCall2010-03-111-0/+6
| | | | | | there's a good equivalent that's actually true, unfortunately. llvm-svn: 98253
* Add a test.Anders Carlsson2010-03-111-0/+7
| | | | llvm-svn: 98246
* Fix calculation of whether a member function needs a thunk in construction ↵Anders Carlsson2010-03-101-0/+59
| | | | | | vtables. llvm-svn: 98191
* Change the 'super' messaging API in the rewriter.Fariborz Jahanian2010-03-101-0/+20
| | | | | | Fixes radar 7738452. llvm-svn: 98190
* We were mistakenly marking morally virtual bases as being uninteresting. Fix ↵Anders Carlsson2010-03-101-0/+67
| | | | | | this. llvm-svn: 98180
* Ignore non-interesting bases when emitting construction vtables.Anders Carlsson2010-03-101-0/+60
| | | | llvm-svn: 98177
* Move test and also test codegen.Rafael Espindola2010-03-101-1/+1
| | | | llvm-svn: 98154
* When pretty-printing tag types, only print the tag if we're in C (andJohn McCall2010-03-10107-419/+418
| | | | | | | | | | therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. llvm-svn: 98149
* Add newline.Anders Carlsson2010-03-101-2/+1
| | | | llvm-svn: 98140
* Don't accidentally mark some functions in construction vtables as unused. ↵Anders Carlsson2010-03-101-0/+56
| | | | | | Also land the test for a previous checkin, now that it's correct. llvm-svn: 98139
* Add use-after-free check to MallocChecker.Zhongxing Xu2010-03-101-0/+6
| | | | llvm-svn: 98136
* Statement expressions can be used in global- or namespace-scoped blocksDouglas Gregor2010-03-101-1/+4
| | | | llvm-svn: 98135
* Create a new InjectedClassNameType to represent bare-word references to the John McCall2010-03-103-2/+8
| | | | | | | | | | | | | injected class name of a class template or class template partial specialization. This is a non-canonical type; the canonical type is still a template specialization type. This becomes the TypeForDecl of the pattern declaration, which cleans up some amount of code (and complicates some other parts, but whatever). Fixes PR6326 and probably a few others, primarily by re-establishing a few invariants about TypeLoc sizes. llvm-svn: 98134
* add missing testRafael Espindola2010-03-101-0/+31
| | | | llvm-svn: 98129
* Improve vcall offset handling in construction vtables. With this we layout ↵Anders Carlsson2010-03-101-0/+123
| | | | | | the construction vtables from the ABI examples correctly. llvm-svn: 98127
* Delay codegen of vtables when handling implicit instantiations.Rafael Espindola2010-03-102-7/+7
| | | | | | This fixes PR6474. llvm-svn: 98123
* When computing in AnalysisContext the variables referencedTed Kremenek2010-03-101-6/+20
| | | | | | by a block, also look at the contained blocks. llvm-svn: 98111
* Fix file reference for derived and composite types. Now, dwarf writer uses ↵Devang Patel2010-03-091-0/+2
| | | | | | strict verifier that ignores debug info for such types if their file info is unknown. llvm-svn: 98096
* Fix the test some more.Fariborz Jahanian2010-03-091-4/+4
| | | | llvm-svn: 98090
* See if this test makes it though buildbot.Fariborz Jahanian2010-03-091-1/+9
| | | | llvm-svn: 98087
* More then one anonymous aggregates on one line creates chaos when MDNode ↵Devang Patel2010-03-091-0/+12
| | | | | | | | uniquness is combined with RAUW operation. Right solution is to avoid using RAUW. This fixes PR 6554. llvm-svn: 98083
* Reverse the code gen. enabled part of test until I can figure outFariborz Jahanian2010-03-091-9/+1
| | | | | | how to check the code pattern no matter how clang is built. llvm-svn: 98079
* Improve Objective-C token-annotation testDouglas Gregor2010-03-091-1/+28
| | | | llvm-svn: 98078
* Code gen test for a previous patch forFariborz Jahanian2010-03-091-1/+8
| | | | | | radar 7709015 llvm-svn: 98073
* Don't error when a block pointer is passed to a Fariborz Jahanian2010-03-091-0/+12
| | | | | | vararg functions/methods. Fixes radar 7725203. llvm-svn: 98070
* Add an Objective-C test for token annotationDouglas Gregor2010-03-091-0/+22
| | | | llvm-svn: 98056
* Add test cases for r98003 and r98006.Ted Kremenek2010-03-082-0/+29
| | | | llvm-svn: 98008
* add a codegen hack to work around an AST bug, allowing us to compile theChris Lattner2010-03-081-0/+11
| | | | | | code in PR6537. This should be reverted when the ast bug is fixed. llvm-svn: 97981
* Revert r97727 at ddunbar's request; we want to solve this some other way.John McCall2010-03-081-12/+0
| | | | llvm-svn: 97971
* Extend ObjCMessageExpr for class method sends with the source locationDouglas Gregor2010-03-081-1/+3
| | | | | | of the class name. llvm-svn: 97943
* Keep track of type source information in the return type of anDouglas Gregor2010-03-081-1/+3
| | | | | | | | | | Objective-C method declaration, e.g., for - (Foo *)myMethod; we now have TypeSourceInfo for the Foo*. llvm-svn: 97942
* In C++98/03, an uninitialized variable that has POD class type will beDouglas Gregor2010-03-083-4/+10
| | | | | | | | | uninitialized. This seems not to be the case in C++0x, where we still call the (trivial) default constructor for a POD class (!). Previously, we had implemented only the C++0x rules; now we implement both. Fixes PR6536. llvm-svn: 97928
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-082-3/+3
| | | | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. (For real this time) llvm-svn: 97927
* Revert r97925, it only contained the test updates not the actual fix.Chandler Carruth2010-03-082-3/+3
| | | | llvm-svn: 97926
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-072-3/+3
| | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. llvm-svn: 97925
OpenPOWER on IntegriCloud