summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Improve test portability; I can't figure out how to get the regexp library toDaniel Dunbar2009-12-091-2/+2
| | | | | | match $ correctly with \r\n, unfortunately. llvm-svn: 90907
* Added a missing case to a switch statement.Fariborz Jahanian2009-12-081-0/+2
| | | | llvm-svn: 90902
* Increase inlining threshold at -O3, to match llvm-gcc.Daniel Dunbar2009-12-081-2/+8
| | | | llvm-svn: 90897
* More detailed analysis of typecast to an objective-c pointerFariborz Jahanian2009-12-084-11/+42
| | | | | | in objective-c++ mode without being too lenient. llvm-svn: 90895
* Handle unresolved using decls in bare lookups. These are not being adequatelyJohn McCall2009-12-082-3/+16
| | | | | | tested. Fixes PR5727. llvm-svn: 90893
* Improve test portability.Daniel Dunbar2009-12-081-3/+3
| | | | llvm-svn: 90890
* Make the BugType.h header self-contained so Daniel will stop bugging me ;)Anders Carlsson2009-12-081-0/+1
| | | | llvm-svn: 90887
* Add fixme.Mike Stump2009-12-081-0/+1
| | | | llvm-svn: 90884
* Remove include of system header.Daniel Dunbar2009-12-081-2/+0
| | | | llvm-svn: 90883
* Remove some old code. WIP.Mike Stump2009-12-081-5/+0
| | | | llvm-svn: 90882
* Don't expand tabs when computing the offset from the code-completion columnDouglas Gregor2009-12-081-8/+2
| | | | llvm-svn: 90881
* Don't use MS extensions in this test, we expect header include markers.Daniel Dunbar2009-12-081-1/+1
| | | | llvm-svn: 90880
* Pick up MB_LEN_MAX as defined by the system <limits.h>, when it's provided thereDouglas Gregor2009-12-081-1/+0
| | | | llvm-svn: 90879
* Update CGExprConstant for change to emit padding values as undef.Daniel Dunbar2009-12-081-1/+5
| | | | | | - This fixes 2003-05-21-BitfieldHandling. llvm-svn: 90876
* Switch this test to use clang-cc.Daniel Dunbar2009-12-081-2/+2
| | | | llvm-svn: 90875
* Patch to allow matching 0 with an objective-c pointer typeFariborz Jahanian2009-12-082-2/+20
| | | | | | in objective-c++ mode. Fixes radar 7443165 llvm-svn: 90874
* Unbreak clang-cc handling of -msoft-float / -mfloat-abi=, which I borked.Daniel Dunbar2009-12-083-5/+34
| | | | llvm-svn: 90873
* Use clang-cc in this test.Daniel Dunbar2009-12-081-1/+1
| | | | llvm-svn: 90872
* Patch to allow cstyle cast of objective-c pointers in objective-c++Fariborz Jahanian2009-12-082-0/+24
| | | | | | mode as they are pervasive. llvm-svn: 90867
* Refactor objective-c pointer assignment compatibility logic. NoFariborz Jahanian2009-12-082-17/+27
| | | | | | intended functionality change. llvm-svn: 90865
* Implement template instantiation for exception specifications. Also,Douglas Gregor2009-12-084-0/+83
| | | | | | | | | | | | | | print exception specifications on function types and declarations. Fixes <rdar://problem/7450999>. There is some poor source-location information here, because we don't track locations of the types in exception specifications. Filed PR5719. Failures during template instantiation of the signature of a function or function template have wrong point-of-instantiation location information. I'll tackle that with a separate commit. llvm-svn: 90863
* Integrate the following from the 'objective-rewrite' branch:Steve Naroff2009-12-082-4/+14
| | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=80043 llvm-svn: 90860
* When performing unqualified name lookup in C++, don't look directlyDouglas Gregor2009-12-083-1/+29
| | | | | | | into transparent contexts; instead, we'll look into their nearest enclosing non-transparent contexts further up the stack. Fixes PR5479. llvm-svn: 90859
* Use StringRef in CGDebugInfo::EmitFunctionStart.Benjamin Kramer2009-12-084-9/+6
| | | | llvm-svn: 90856
* Use a Twine to concatenate the name instead of going through std::string.Benjamin Kramer2009-12-081-3/+1
| | | | llvm-svn: 90854
* Twinify InitHeaderSearch::AddPath and use it in C++ include path generation.Benjamin Kramer2009-12-081-21/+23
| | | | llvm-svn: 90853
* Use StringRefs in InitHeaderSearch::AddDelimitedPaths.Benjamin Kramer2009-12-081-15/+15
| | | | llvm-svn: 90852
* Use Path.makeAbsolute() and make a constant std::string a const char*.Benjamin Kramer2009-12-081-7/+3
| | | | llvm-svn: 90851
* The refactor of implicit member access expressions means we don't need thisJohn McCall2009-12-082-188/+92
| | | | | | | | | horrible isAddressOfOperand hack in TreeTransform, since that syntactic information is managed by the initial parser callbacks now. That's enough insomniac commits for one night. llvm-svn: 90849
* DeclRefExpr stores a ValueDecl internally.John McCall2009-12-088-54/+45
| | | | | | Template instantiation can re-use DeclRefExprs. llvm-svn: 90848
* Refactor builtin function evaluation into a checker.Zhongxing Xu2009-12-084-8/+79
| | | | llvm-svn: 90847
* Correctly implement the C++03 and 0x restrictions on class-member usingJohn McCall2009-12-087-60/+260
| | | | | | declarations. llvm-svn: 90843
* Add CXXRecordDecl::forallBases to walk an inheritance hierarchy with non-lookupJohn McCall2009-12-082-0/+73
| | | | | | | semantics and CXXRecordDecl::isProvablyNotDerivedFrom to assist with pre-instantiation diagnostics. llvm-svn: 90842
* Build fix.Eli Friedman2009-12-081-1/+1
| | | | llvm-svn: 90841
* Fix for PR5707: make sure implicit copy constructors initialize the vtableEli Friedman2009-12-083-0/+15
| | | | | | pointer. llvm-svn: 90840
* Small compatibility fix for -print-decl-contexts.Eli Friedman2009-12-081-0/+5
| | | | llvm-svn: 90838
* Fix for PR5710: make sure to put function template specializations into theEli Friedman2009-12-083-4/+20
| | | | | | | | | | DeclContext, so they don't completely disappear from the AST. I don't particularly like this fix, but I don't see any obviously better way to deal with it, and I think it's pretty clearly an improvement; comments welcome. llvm-svn: 90835
* brace completion.Zhongxing Xu2009-12-081-1/+1
| | | | llvm-svn: 90833
* Slight tweak to vtable linkage.Eli Friedman2009-12-082-2/+2
| | | | llvm-svn: 90832
* Misc key function fixes.Eli Friedman2009-12-083-1/+62
| | | | llvm-svn: 90831
* Patch to warn when discarding objective-c pointer type qualifiersFariborz Jahanian2009-12-082-0/+30
| | | | | | Still some refactoring to do. llvm-svn: 90830
* Remove dead diagnosticsDouglas Gregor2009-12-081-6/+0
| | | | llvm-svn: 90827
* Get rid of some diagnostics that don't follow our rules for -pedanticEli Friedman2009-12-082-14/+0
| | | | | | | diagnostics (specifically, that any extension in a compiler-reserved namespace shouldn't trigger a diagnostic). llvm-svn: 90826
* Fix some direct checks of expressions which might be surrounded by parentheses.Eli Friedman2009-12-083-4/+17
| | | | llvm-svn: 90825
* Make copy assignment operator synthesis not explode for classes with complexEli Friedman2009-12-082-2/+26
| | | | | | | | | | | | or non-record aggregate members. It might be worth spending some time to optimize this code (and the parallel code for copy constructors) to memcpy in larger chunks, rather than copying one member at a time. Not sure exactly how beneficial that would be, but it seems like could help for large classes with, for example, a vtable pointer forcing the generation of a copy constructor. llvm-svn: 90823
* Remove several .c_str() to be forward-compatible with StringRef.Jeffrey Yasskin2009-12-085-12/+13
| | | | llvm-svn: 90822
* Fixup catch parameters with class reference type. WIP.Mike Stump2009-12-081-1/+1
| | | | llvm-svn: 90821
* No need to add tail padding if the resulting LLVM struct type will have the ↵Anders Carlsson2009-12-082-4/+14
| | | | | | same size as the final record size. llvm-svn: 90820
* A bunch more thunk fixes from misc testing.Eli Friedman2009-12-074-54/+72
| | | | | | (Yes, I do intend to commit some tests for this.) llvm-svn: 90818
* Add codegen support for exception specifications. WIP.Mike Stump2009-12-073-0/+127
| | | | llvm-svn: 90817
OpenPOWER on IntegriCloud