| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move ComputeThisAdjustmentBaseOffset to VtableBuilder. | Anders Carlsson | 2010-02-27 | 1 | -61/+61 |
| | | | | | llvm-svn: 97340 | ||||
| * | Make sure to insert the primary base in the set :) | Anders Carlsson | 2010-02-27 | 1 | -0/+3 |
| | | | | | llvm-svn: 97339 | ||||
| * | Use the real base offset when calculating vbase offsets. | Anders Carlsson | 2010-02-27 | 2 | -1/+47 |
| | | | | | llvm-svn: 97338 | ||||
| * | Figured out why the test was failing, this will hopefully fix it. | Anders Carlsson | 2010-02-27 | 2 | -4/+9 |
| | | | | | llvm-svn: 97336 | ||||
| * | Don't add this adjustments for pure virtual member functions. | Anders Carlsson | 2010-02-27 | 2 | -3/+40 |
| | | | | | llvm-svn: 97334 | ||||
| * | We want to store method info for unused functions. | Anders Carlsson | 2010-02-27 | 1 | -10/+20 |
| | | | | | llvm-svn: 97333 | ||||
| * | XFAIL this for now. I have no idea why this test is failing on some ↵ | Anders Carlsson | 2010-02-27 | 1 | -0/+1 |
| | | | | | | | machines. Looks like some sort of whitespace issue in FileCheck. llvm-svn: 97332 | ||||
| * | Revert 97324. Chris says this cleanup could hurt -E performance. | Benjamin Kramer | 2010-02-27 | 1 | -8/+24 |
| | | | | | llvm-svn: 97331 | ||||
| * | Move method out-of-line. I thought this would be a candidate for inlining ↵ | Benjamin Kramer | 2010-02-27 | 2 | -14/+19 |
| | | | | | | | but I was wrong. llvm-svn: 97330 | ||||
| * | Add another test. | Anders Carlsson | 2010-02-27 | 1 | -0/+48 |
| | | | | | llvm-svn: 97329 | ||||
| * | Finish up the changes to this adjustments. | Anders Carlsson | 2010-02-27 | 2 | -37/+163 |
| | | | | | llvm-svn: 97328 | ||||
| * | Another trivial getSpelling simplification. | Benjamin Kramer | 2010-02-27 | 1 | -4/+2 |
| | | | | | llvm-svn: 97327 | ||||
| * | Stub out more of the 'this' pointer adjustment fixes I've been planning. ↵ | Anders Carlsson | 2010-02-27 | 1 | -13/+36 |
| | | | | | | | Start using a set vector for primary bases so they will be ordered. llvm-svn: 97326 | ||||
| * | Simplify code. | Benjamin Kramer | 2010-02-27 | 1 | -24/+8 |
| | | | | | llvm-svn: 97324 | ||||
| * | Fix thinko. | Benjamin Kramer | 2010-02-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 97323 | ||||
| * | Add an overload of Preprocessor::getSpelling which takes a SmallVector and | Benjamin Kramer | 2010-02-27 | 9 | -39/+34 |
| | | | | | | | returns a StringRef. Use it to simplify some repetitive code. llvm-svn: 97322 | ||||
| * | Fix crasher caused by setting a bit in a possibly empty bitvector while | Ted Kremenek | 2010-02-27 | 3 | -1/+12 |
| | | | | | | | doing printf format string checking. This is a recent regression. llvm-svn: 97318 | ||||
| * | Wire up Daniel's new spiffy C interpreter into the CMake build system | Kovarththanan Rajaratnam | 2010-02-27 | 2 | -0/+31 |
| | | | | | llvm-svn: 97311 | ||||
| * | Add comment | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+2 |
| | | | | | llvm-svn: 97309 | ||||
| * | Add header + comments | Kovarththanan Rajaratnam | 2010-02-27 | 1 | -0/+12 |
| | | | | | llvm-svn: 97308 | ||||
| * | Fix another vtable layout bug; we weren't looking hard enough for overriden ↵ | Anders Carlsson | 2010-02-27 | 2 | -8/+76 |
| | | | | | | | functions when determining if an overrider will ever be used. llvm-svn: 97306 | ||||
| * | Handle vcall offset sharing between destructors. | Anders Carlsson | 2010-02-27 | 2 | -3/+47 |
| | | | | | llvm-svn: 97304 | ||||
| * | Fix a bug where we were generating an unnecessary vtable for a virtual base ↵ | Anders Carlsson | 2010-02-27 | 2 | -9/+67 |
| | | | | | | | that's already a primary virtual base. llvm-svn: 97303 | ||||
| * | Add test case for inlining call analysis. | Zhongxing Xu | 2010-02-27 | 1 | -0/+20 |
| | | | | | llvm-svn: 97300 | ||||
| * | Robustify SourceManager::getLocation(), so that it returns an | Douglas Gregor | 2010-02-27 | 2 | -15/+20 |
| | | | | | | | | | | end-of-line source location when given a column number beyond the length of the line, or an end-of-file source location when given a line number beyond the length of the file. Previously, we would return an invalid location. llvm-svn: 97299 | ||||
| * | Add reference to positional arguments documentation. | Ted Kremenek | 2010-02-27 | 1 | -0/+3 |
| | | | | | llvm-svn: 97298 | ||||
| * | For printf format string checking, add support for positional format strings. | Ted Kremenek | 2010-02-27 | 5 | -48/+232 |
| | | | | | | | Along the way, coelesce some of the diagnostics. llvm-svn: 97297 | ||||
| * | When given unsaved files in clang_createTranslationUnitFromSourceFile, | Douglas Gregor | 2010-02-27 | 4 | -6/+6 |
| | | | | | | | | | | | copy the source buffers provided rather than referencing them directly, so that the caller can free those buffers immediately after calling clang_createTranslationUnitFromSourceFile(). Otherwise, we risk hitting those buffers later (when building source ranges, forming diagnostics, etc.). llvm-svn: 97296 | ||||
| * | Skip dependent virtual base classes; fixes PR6413. | Douglas Gregor | 2010-02-27 | 3 | -4/+20 |
| | | | | | llvm-svn: 97291 | ||||
| * | Put BadLiteral in the NonGCC group. I'd completely forgotten about this. | John McCall | 2010-02-26 | 1 | -2/+2 |
| | | | | | llvm-svn: 97286 | ||||
| * | At sabre's request, drop the FP bounds diagnostics down to warnings and file | John McCall | 2010-02-26 | 4 | -14/+17 |
| | | | | | | | them under -Wbad-literal. They're still on by default. llvm-svn: 97284 | ||||
| * | Prevent rewriter crash when variable type is missing. | Fariborz Jahanian | 2010-02-26 | 2 | -0/+7 |
| | | | | | | | Fixes radar 7692183. llvm-svn: 97281 | ||||
| * | Minor cleanup of the rewriter. | Fariborz Jahanian | 2010-02-26 | 1 | -18/+22 |
| | | | | | llvm-svn: 97280 | ||||
| * | Removed some unused code in rewriter. | Fariborz Jahanian | 2010-02-26 | 1 | -28/+2 |
| | | | | | llvm-svn: 97274 | ||||
| * | Sundry fixes to the new vtable builder. | John McCall | 2010-02-26 | 1 | -13/+33 |
| | | | | | llvm-svn: 97258 | ||||
| * | Fix rewriting of byref variables in nested blocks. | Fariborz Jahanian | 2010-02-26 | 2 | -2/+32 |
| | | | | | | | Fixes radar 7692350. llvm-svn: 97254 | ||||
| * | fix rdar://7683173, rejecting an invalid conditional | Chris Lattner | 2010-02-26 | 2 | -1/+8 |
| | | | | | llvm-svn: 97253 | ||||
| * | For printf format string checking, move the tracking of the data argument ↵ | Ted Kremenek | 2010-02-26 | 5 | -54/+102 |
| | | | | | | | | | | index out of Sema and into analyze_printf::ParseFormatString(). Also use a bitvector to determine what arguments have been covered (instead of just checking to see if the last argument consumed is the max argument). This is prep. for support positional arguments (an IEEE extension). llvm-svn: 97248 | ||||
| * | Rewriting of imported variable from outer | Fariborz Jahanian | 2010-02-26 | 2 | -0/+19 |
| | | | | | | | | blocks's argument in the inner block requires special treatment. Fixes radar 7692419. llvm-svn: 97244 | ||||
| * | Use a GDM to record the returned expression in the state when VisitReturnStmt. | Zhongxing Xu | 2010-02-26 | 1 | -10/+28 |
| | | | | | | | | | | | | Use this information to find the returned value and bind it to CallExpr in ProcessCallExit. And there is no need to remove dead bindings in ProcessCallExit, because a. it would clean up the return value bound to CallExpr b. we still would do it in the next ProcessStmt(), where we would not misclean up the return value. llvm-svn: 97225 | ||||
| * | Make the destructor public. ddunbar, lemme know if you'd prefer a different | Chandler Carruth | 2010-02-26 | 1 | -1/+2 |
| | | | | | | | fix, just trying to get the build bots happy again. llvm-svn: 97223 | ||||
| * | Make GDM private. | Zhongxing Xu | 2010-02-26 | 1 | -4/+1 |
| | | | | | llvm-svn: 97222 | ||||
| * | Fix an assertion-on-error during tentative constructor parsing by | John McCall | 2010-02-26 | 15 | -88/+124 |
| | | | | | | | | | | | propagating error conditions out of the various annotate-me-a-snowflake routines. Generally (but not universally) removes redundant diagnostics as well as, you know, not crashing on bad code. On the other hand, I have just signed myself up to fix fiddly parser errors for the next week. Again. llvm-svn: 97221 | ||||
| * | An explicit specialization is allowed following an explicit | Douglas Gregor | 2010-02-26 | 2 | -7/+48 |
| | | | | | | | | instantiation so long as that explicit specialization was declared previously. Fixes PR6160. llvm-svn: 97210 | ||||
| * | Implement semantic analysis for C++ [expr.new]p18-20, which describe | Douglas Gregor | 2010-02-26 | 6 | -3/+343 |
| | | | | | | | | | | | how we find the operator delete that matches withe operator new we found in a C++ new-expression. This will also need CodeGen support. On a happy note, we're now a "nans" away from building tramp3d-v4. llvm-svn: 97209 | ||||
| * | Remove derelict GRStmtNodeBuilder::LastNode. | Zhongxing Xu | 2010-02-26 | 3 | -10/+3 |
| | | | | | llvm-svn: 97207 | ||||
| * | Support rewriting of property synthesis with retain/copy | Fariborz Jahanian | 2010-02-26 | 2 | -25/+120 |
| | | | | | | | attributes. Fixes radar 7214439. llvm-svn: 97203 | ||||
| * | Commit Eli's fix for implicit conversions to array type. Fixes PR6264. | Douglas Gregor | 2010-02-26 | 2 | -1/+13 |
| | | | | | llvm-svn: 97202 | ||||
| * | Don't generate method metadata for @dynamic properties. Fixes PR6354. | David Chisnall | 2010-02-26 | 1 | -7/+12 |
| | | | | | llvm-svn: 97199 | ||||
| * | Use the power of types to track down another canonicalization bug in | John McCall | 2010-02-26 | 8 | -64/+111 |
| | | | | | | | the ABI-computation interface. Fixes <rdar://problem/7691046>. llvm-svn: 97197 | ||||

