| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Break out code for reuse. WIP. | Mike Stump | 2009-12-09 | 2 | -22/+41 | |
| | | | | | llvm-svn: 90991 | |||||
| * | Fixes a bogus error when declaring an extern "C" array. | Fariborz Jahanian | 2009-12-09 | 2 | -5/+13 | |
| | | | | | | | (fixes radar 7457109). llvm-svn: 90986 | |||||
| * | Add throw support. WIP. | Mike Stump | 2009-12-09 | 1 | -1/+1 | |
| | | | | | llvm-svn: 90982 | |||||
| * | Codegen. support for ObjCIsaExpr AST which until now | Fariborz Jahanian | 2009-12-09 | 2 | -3/+22 | |
| | | | | | | | was not needed (fixes radar 7453430). llvm-svn: 90981 | |||||
| * | Add DeclContext::dump. | Anders Carlsson | 2009-12-09 | 1 | -0/+11 | |
| | | | | | llvm-svn: 90974 | |||||
| * | Refactor OSAtomic evaluation logic into OSAtomicChecker. | Zhongxing Xu | 2009-12-09 | 4 | -151/+191 | |
| | | | | | llvm-svn: 90968 | |||||
| * | Use a temporary destination set such that we can clear fake auto transitions. | Zhongxing Xu | 2009-12-09 | 1 | -3/+24 | |
| | | | | | | | | | Otherwise, even when real evaluation occurs, the previous fake auto transitions would still be in the destination set, causing fake state bifurcation. llvm-svn: 90967 | |||||
| * | First pass at implementing C++ enum semantics: calculate (and store) an | John McCall | 2009-12-09 | 6 | -26/+64 | |
| | | | | | | | | | | | | | "integer promotion" type associated with an enum decl, and use this type to determine which type to promote to. This type obeys C++ [conv.prom]p2 and is therefore generally signed unless the range of the enumerators forces it to be unsigned. Kills off a lot of false positives from -Wsign-compare in C++, addressing rdar://7455616 llvm-svn: 90965 | |||||
| * | OSAtomic simulation: use the original region as the location to load from, | Zhongxing Xu | 2009-12-09 | 2 | -4/+7 | |
| | | | | | | | | | instead of the ElementRegion obtained from casts. Test cast: the leak cannot occur bacause the true branch cannot be taken. llvm-svn: 90964 | |||||
| * | Look through using declarations when searching for allocation overloads. | Anders Carlsson | 2009-12-09 | 1 | -1/+2 | |
| | | | | | llvm-svn: 90961 | |||||
| * | remove dead code. | Zhongxing Xu | 2009-12-09 | 1 | -41/+0 | |
| | | | | | llvm-svn: 90953 | |||||
| * | Insert instead of assign to the dest node set, since we use the dest node set | Zhongxing Xu | 2009-12-09 | 1 | -1/+1 | |
| | | | | | | | repeatedly. llvm-svn: 90952 | |||||
| * | Fix for PR5730: make sure to consistently call | Eli Friedman | 2009-12-09 | 1 | -11/+5 | |
| | | | | | | | PerformObjectArgumentInitialization from BuildCXXMemberCallExpr. llvm-svn: 90950 | |||||
| * | Whitespace fix. | Eli Friedman | 2009-12-09 | 1 | -2/+1 | |
| | | | | | llvm-svn: 90949 | |||||
| * | In CXXRecordDecl::forallBases, add the base to the "queue", so we walk more ↵ | Anders Carlsson | 2009-12-09 | 1 | -2/+4 | |
| | | | | | | | than one heirarchy of classes. John, please review. llvm-svn: 90948 | |||||
| * | Fix crash in DisplayFunction(). ObjCInterfaceDecls can also get passed to ↵ | Ted Kremenek | 2009-12-09 | 1 | -8/+5 | |
| | | | | | | | this function, but we don't want to display them. llvm-svn: 90944 | |||||
| * | Don't warn about function templates or function template specializations. | Anders Carlsson | 2009-12-09 | 1 | -5/+13 | |
| | | | | | llvm-svn: 90943 | |||||
| * | Add cleanups for exceptional edges. WIP. | Mike Stump | 2009-12-09 | 5 | -37/+177 | |
| | | | | | llvm-svn: 90940 | |||||
| * | Rename Sema::IsOverload to Sema::CheckOverload. Teach it to ignore unresolved | John McCall | 2009-12-09 | 3 | -39/+65 | |
| | | | | | | | | | using value decls; we optimistically assume they won't turn into conflicts. Teach it to tell the caller *why* the function doesn't overload with the returned decl; this will be useful for using hiding. llvm-svn: 90939 | |||||
| * | Move the missing prototypes checking out into a new function. Don't warn ↵ | Anders Carlsson | 2009-12-09 | 1 | -17/+38 | |
| | | | | | | | about inline functions. Add a test. llvm-svn: 90938 | |||||
| * | Fix for PR5709: use the computed type of the declaration instead of the | Eli Friedman | 2009-12-09 | 1 | -6/+1 | |
| | | | | | | | | type of the builtin when generating the function declaration for a builtin library call. llvm-svn: 90936 | |||||
| * | Pass the current SourceLocation to getAssignOperatorMethod, fixing a crash ↵ | Anders Carlsson | 2009-12-09 | 2 | -10/+13 | |
| | | | | | | | when the assign operator method needs to be instantiated. Doug, please review the updated default-assignment-operator.cpp change. llvm-svn: 90935 | |||||
| * | Fix a horrid bug in GRExprEngine::CheckerVisit() that was identified | Ted Kremenek | 2009-12-09 | 1 | -41/+58 | |
| | | | | | | | | | | by the test case in PR 5627. Essentially we shouldn't clear the ExplodedNodeSet where we deposit newly constructed nodes if that set is the 'Dst' set passed in. It is not okay to clear that set because it may already contain nodes. llvm-svn: 90931 | |||||
| * | Neil points out that this could be simplified, do it. | Chris Lattner | 2009-12-09 | 1 | -15/+9 | |
| | | | | | llvm-svn: 90927 | |||||
| * | Add support for the cleanup attribute for C++; we don't have to copy | Mike Stump | 2009-12-09 | 1 | -4/+0 | |
| | | | | | | | all of g++'s bugs. llvm-svn: 90924 | |||||
| * | Implemented an implicit conversion from "noreturn" function types (and | Douglas Gregor | 2009-12-09 | 4 | -23/+70 | |
| | | | | | | | | | | | | | | | pointers thereof) to their corresponding non-noreturn function types. This conversion is considered an exact match for overload-resolution purposes. Note that we are a little more strict that GCC is, because we encode noreturn in the type system, but that's a Good Thing (TM) because it does not allow us to pretend that potentially-returning function pointers are non-returning function pointers. Fxies PR5620. llvm-svn: 90913 | |||||
| * | Added a missing case to a switch statement. | Fariborz Jahanian | 2009-12-08 | 1 | -0/+2 | |
| | | | | | llvm-svn: 90902 | |||||
| * | Increase inlining threshold at -O3, to match llvm-gcc. | Daniel Dunbar | 2009-12-08 | 1 | -2/+8 | |
| | | | | | llvm-svn: 90897 | |||||
| * | More detailed analysis of typecast to an objective-c pointer | Fariborz Jahanian | 2009-12-08 | 2 | -8/+15 | |
| | | | | | | | in objective-c++ mode without being too lenient. llvm-svn: 90895 | |||||
| * | Handle unresolved using decls in bare lookups. These are not being adequately | John McCall | 2009-12-08 | 1 | -3/+3 | |
| | | | | | | | tested. Fixes PR5727. llvm-svn: 90893 | |||||
| * | Add fixme. | Mike Stump | 2009-12-08 | 1 | -0/+1 | |
| | | | | | llvm-svn: 90884 | |||||
| * | Remove some old code. WIP. | Mike Stump | 2009-12-08 | 1 | -5/+0 | |
| | | | | | llvm-svn: 90882 | |||||
| * | Don't expand tabs when computing the offset from the code-completion column | Douglas Gregor | 2009-12-08 | 1 | -8/+2 | |
| | | | | | llvm-svn: 90881 | |||||
| * | Pick up MB_LEN_MAX as defined by the system <limits.h>, when it's provided there | Douglas Gregor | 2009-12-08 | 1 | -1/+0 | |
| | | | | | llvm-svn: 90879 | |||||
| * | Update CGExprConstant for change to emit padding values as undef. | Daniel Dunbar | 2009-12-08 | 1 | -1/+5 | |
| | | | | | | | - This fixes 2003-05-21-BitfieldHandling. llvm-svn: 90876 | |||||
| * | Patch to allow matching 0 with an objective-c pointer type | Fariborz Jahanian | 2009-12-08 | 1 | -2/+2 | |
| | | | | | | | in objective-c++ mode. Fixes radar 7443165 llvm-svn: 90874 | |||||
| * | Unbreak clang-cc handling of -msoft-float / -mfloat-abi=, which I borked. | Daniel Dunbar | 2009-12-08 | 1 | -3/+6 | |
| | | | | | llvm-svn: 90873 | |||||
| * | Patch to allow cstyle cast of objective-c pointers in objective-c++ | Fariborz Jahanian | 2009-12-08 | 1 | -0/+4 | |
| | | | | | | | mode as they are pervasive. llvm-svn: 90867 | |||||
| * | Refactor objective-c pointer assignment compatibility logic. No | Fariborz Jahanian | 2009-12-08 | 2 | -17/+27 | |
| | | | | | | | intended functionality change. llvm-svn: 90865 | |||||
| * | Implement template instantiation for exception specifications. Also, | Douglas Gregor | 2009-12-08 | 3 | -0/+72 | |
| | | | | | | | | | | | | | | | 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 Naroff | 2009-12-08 | 1 | -4/+9 | |
| | | | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=80043 llvm-svn: 90860 | |||||
| * | When performing unqualified name lookup in C++, don't look directly | Douglas Gregor | 2009-12-08 | 1 | -1/+6 | |
| | | | | | | | | 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 Kramer | 2009-12-08 | 4 | -9/+6 | |
| | | | | | llvm-svn: 90856 | |||||
| * | Use a Twine to concatenate the name instead of going through std::string. | Benjamin Kramer | 2009-12-08 | 1 | -3/+1 | |
| | | | | | llvm-svn: 90854 | |||||
| * | Twinify InitHeaderSearch::AddPath and use it in C++ include path generation. | Benjamin Kramer | 2009-12-08 | 1 | -21/+23 | |
| | | | | | llvm-svn: 90853 | |||||
| * | Use StringRefs in InitHeaderSearch::AddDelimitedPaths. | Benjamin Kramer | 2009-12-08 | 1 | -15/+15 | |
| | | | | | llvm-svn: 90852 | |||||
| * | Use Path.makeAbsolute() and make a constant std::string a const char*. | Benjamin Kramer | 2009-12-08 | 1 | -7/+3 | |
| | | | | | llvm-svn: 90851 | |||||
| * | The refactor of implicit member access expressions means we don't need this | John McCall | 2009-12-08 | 2 | -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 McCall | 2009-12-08 | 7 | -46/+37 | |
| | | | | | | | Template instantiation can re-use DeclRefExprs. llvm-svn: 90848 | |||||
| * | Refactor builtin function evaluation into a checker. | Zhongxing Xu | 2009-12-08 | 4 | -8/+79 | |
| | | | | | llvm-svn: 90847 | |||||

