| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Enhance test to check on expected rewritten output. | Fariborz Jahanian | 2010-01-24 | 1 | -1/+4 |
| | | | | | llvm-svn: 94368 | ||||
| * | Fix a pretty bad bug where if a constructor (or conversion function) was ↵ | Anders Carlsson | 2010-01-24 | 1 | -0/+39 |
| | | | | | | | marked as 'explicit', but then defined out-of-line, we would not treat it as being explicit. llvm-svn: 94366 | ||||
| * | Implement [dcl.fct.spec]p6. | Anders Carlsson | 2010-01-24 | 1 | -3/+6 |
| | | | | | llvm-svn: 94365 | ||||
| * | Land test case. | Anders Carlsson | 2010-01-24 | 1 | -0/+13 |
| | | | | | llvm-svn: 94362 | ||||
| * | Mangle static variables with an extra name to distinguish them from ↵ | Alexis Hunt | 2010-01-24 | 4 | -9/+17 |
| | | | | | | | | | non-static variables in the same TU. Fixes PR5966 for real this time; also reverts r92911, which had a incorrect fix. llvm-svn: 94352 | ||||
| * | fix PR6034, a crash on invalid where the switch stack would get | Chris Lattner | 2010-01-24 | 1 | -0/+8 |
| | | | | | | | unbalanced. llvm-svn: 94347 | ||||
| * | disable this test, it is failing sporadically. | Chris Lattner | 2010-01-24 | 1 | -2/+6 |
| | | | | | llvm-svn: 94344 | ||||
| * | Fix a nasty bug where temporaries weren't marked as being conditional in ↵ | Anders Carlsson | 2010-01-24 | 1 | -1/+31 |
| | | | | | | | some cases. llvm-svn: 94341 | ||||
| * | Use new initialization code when dealing with [dcl.init.aggr]p12. This fixes ↵ | Anders Carlsson | 2010-01-24 | 1 | -1/+28 |
| | | | | | | | the bug where array elements and member initializers weren't copied correctly. llvm-svn: 94340 | ||||
| * | Use the new init code for member subobjects. | Anders Carlsson | 2010-01-23 | 3 | -2/+5 |
| | | | | | llvm-svn: 94329 | ||||
| * | Switch some array initialization over to the new init code. | Anders Carlsson | 2010-01-23 | 1 | -0/+3 |
| | | | | | llvm-svn: 94327 | ||||
| * | Insulate these from changes to the default for -Wunreachable-code. | Mike Stump | 2010-01-23 | 14 | -32/+32 |
| | | | | | llvm-svn: 94326 | ||||
| * | Baby steps towards migrating the InitListChecker over to the new ↵ | Anders Carlsson | 2010-01-23 | 1 | -0/+4 |
| | | | | | | | initialization code. Pass an InitializedEntity pointer through to most init checker functions. Right now, it's ignored everywhere except when initializing vectors in C++. llvm-svn: 94325 | ||||
| * | Adjust testcase for recent AsmPrinter changes, sigh. | Benjamin Kramer | 2010-01-23 | 1 | -34/+34 |
| | | | | | llvm-svn: 94307 | ||||
| * | Adjust testcase for recent DWARF printer changes. | Benjamin Kramer | 2010-01-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 94306 | ||||
| * | Produce a special diagnostic when users call a function with an argument of | John McCall | 2010-01-23 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | incomplete type (or a pointer/reference to such). The causes of this problem are different enough to justify a different "design" for the diagnostic. Most notably, it doesn't give an operand index: it's usually pretty obvious which operand is the problem, it adds a lot of clutter to mention it, and the fix is usually in a different part of the file anyway. This is yet another diagnostic that should really have an analogue in the non-overloaded case --- which should be much easier to write because of the weaker space constraints. llvm-svn: 94303 | ||||
| * | Fix the EntityKind order so that all entity kinds that can be copied (using ↵ | Anders Carlsson | 2010-01-23 | 1 | -1/+1 |
| | | | | | | | copy constructors) come first. Also, fix a bug where EK_New was left out of the err_init_conversion_failed diagnostic (It is now reported as 'new value'). Please review Doug :) llvm-svn: 94289 | ||||
| * | Implement elementary access control. | John McCall | 2010-01-23 | 2 | -4/+155 |
| | | | | | llvm-svn: 94268 | ||||
| * | Teach the cursor visitor to recurse into the type information of | Douglas Gregor | 2010-01-23 | 1 | -0/+13 |
| | | | | | | | explicit casts, sizeof, alignof, and compound literals. llvm-svn: 94265 | ||||
| * | Fix a FIXME, this test folds to a constant now. | Daniel Dunbar | 2010-01-23 | 1 | -6/+3 |
| | | | | | llvm-svn: 94263 | ||||
| * | Extend clang_createTranslationUnitFromSourceFile() to support creating | Douglas Gregor | 2010-01-23 | 3 | -0/+21 |
| | | | | | | | translation units that include unsaved files. llvm-svn: 94258 | ||||
| * | outside a method, 'super' should resolve in a normal name look up | Fariborz Jahanian | 2010-01-22 | 1 | -0/+7 |
| | | | | | | | to mimic gcc's behavior. Fixes radar 7400691. llvm-svn: 94246 | ||||
| * | Fixup the rest of the testcases to grep the .ll file instead of the .s | Mike Stump | 2010-01-22 | 1 | -263/+22 |
| | | | | | | | file, and add FIXMEs to the remaining broken tests. llvm-svn: 94238 | ||||
| * | Fixes test. | Fariborz Jahanian | 2010-01-22 | 1 | -2/+2 |
| | | | | | llvm-svn: 94236 | ||||
| * | Convert more testcases to checking the .ll file instead of the .s file. | Mike Stump | 2010-01-22 | 1 | -269/+105 |
| | | | | | llvm-svn: 94229 | ||||
| * | ui64, etc. are valid VS suffixes. | Fariborz Jahanian | 2010-01-22 | 1 | -1/+14 |
| | | | | | | | Fixes radar 7562363. llvm-svn: 94224 | ||||
| * | Eliminate index-test; all of its tested functionality is now in c-index-test. | Douglas Gregor | 2010-01-22 | 6 | -186/+0 |
| | | | | | llvm-svn: 94211 | ||||
| * | Be sure to select primary bases among the nearly empties in preorder, | Mike Stump | 2010-01-22 | 1 | -0/+39 |
| | | | | | | | | not just among the direct bases. Before we where missing nearly empties that were bases of virtual base classes. llvm-svn: 94208 | ||||
| * | Teach CIndex's cursor visitor to restrict its traversal to a specific | Douglas Gregor | 2010-01-22 | 7 | -332/+66 |
| | | | | | | | | | | | | | | | region of interest (if provided). Implement clang_getCursor() in terms of this traversal rather than using the Index library; the unified cursor visitor is more complete, and will be The Way Forward. Minor other tweaks needed to make this work: - Extend Preprocessor::getLocForEndOfToken() to accept an offset from the end, making it easy to move to the last character in the token (rather than just past the end of the token). - In Lexer::MeasureTokenLength(), the length of whitespace is zero. llvm-svn: 94200 | ||||
| * | Patch fixes a lookup bug in c++'s anonymous union member | Fariborz Jahanian | 2010-01-22 | 1 | -0/+10 |
| | | | | | | | lookup. Fixes radar 7562438. llvm-svn: 94191 | ||||
| * | No need to canonicalize the type and use dyn_cast. Also, correctly diagnose ↵ | Anders Carlsson | 2010-01-22 | 1 | -1/+40 |
| | | | | | | | trying to override a function returning an lvalue reference with a function overriding an rvalue reference. llvm-svn: 94183 | ||||
| * | Fix an obvious goof that caused us to only see the top level of return types | Chandler Carruth | 2010-01-22 | 1 | -0/+17 |
| | | | | | | | | | | when checking for covariance. Added some fun test cases, fixes PR6110. This felt obvious enough to just commit. ;] Let me know if anything needs tweaking. llvm-svn: 94173 | ||||
| * | Ensure we output all non-virtual base vtables. Fixes PR5890. | Mike Stump | 2010-01-22 | 1 | -0/+14 |
| | | | | | llvm-svn: 94163 | ||||
| * | Teach the cursor visitor to walk all of the C and Objective-C | Douglas Gregor | 2010-01-22 | 1 | -0/+13 |
| | | | | | | | | | declarations that have enough source information to make such a walk useful. This includes walking into variable initializers and enum constants, the types behind typedefs, etc. llvm-svn: 94124 | ||||
| * | revert my patch for rdar://7520940 that warns when a published header | Chris Lattner | 2010-01-22 | 3 | -14/+0 |
| | | | | | | | | is #included with "foo.h" style syntax instead of framework syntax. It produced too much noise. llvm-svn: 94120 | ||||
| * | Teach the cursor visitor to walk statements and expressions, including | Douglas Gregor | 2010-01-21 | 1 | -0/+12 |
| | | | | | | | a few important subkinds. Now we're cookin' with gas! llvm-svn: 94116 | ||||
| * | Improve unreachable code warnings with respect to dead member and | Mike Stump | 2010-01-21 | 2 | -0/+34 |
| | | | | | | | dead array references. llvm-svn: 94115 | ||||
| * | Improve unreachable code warnings for with respect to dead functional casts ↵ | Mike Stump | 2010-01-21 | 1 | -1/+4 |
| | | | | | | | in C++. llvm-svn: 94106 | ||||
| * | Improve unreachable code warnings for with respect to c-style casts. | Mike Stump | 2010-01-21 | 1 | -0/+3 |
| | | | | | llvm-svn: 94094 | ||||
| * | Improve unreachable code warnings for with respect to ? :. | Mike Stump | 2010-01-21 | 2 | -0/+7 |
| | | | | | llvm-svn: 94093 | ||||
| * | Revert r94073, it fails in Release-Asserts builds. | Benjamin Kramer | 2010-01-21 | 1 | -66/+66 |
| | | | | | llvm-svn: 94089 | ||||
| * | Patch to implement rewriting of properties. | Fariborz Jahanian | 2010-01-21 | 1 | -0/+3 |
| | | | | | | | Fixes radar 7562952. llvm-svn: 94087 | ||||
| * | Improve unreachable code warnings for with respect to compound | Mike Stump | 2010-01-21 | 1 | -0/+5 |
| | | | | | | | assignments. llvm-svn: 94086 | ||||
| * | Teach the cursor visitor to walk into a variety of different TypeLoc | Douglas Gregor | 2010-01-21 | 1 | -2/+5 |
| | | | | | | | kinds, so that we see referenced types, protocols, classes, etc. llvm-svn: 94085 | ||||
| * | Improve unreachable code warnings with respect to dead binary and | Mike Stump | 2010-01-21 | 2 | -5/+18 |
| | | | | | | | unary operators. llvm-svn: 94084 | ||||
| * | Introduce type references into the C API, capturing references to | Douglas Gregor | 2010-01-21 | 2 | -1/+2 |
| | | | | | | | typedefs only (for now). llvm-svn: 94078 | ||||
| * | Teach code-completion to deal with calls to functions without prototypes. | Douglas Gregor | 2010-01-21 | 1 | -0/+15 |
| | | | | | llvm-svn: 94076 | ||||
| * | Speed up compilation by avoiding generating exceptional edges from | Mike Stump | 2010-01-21 | 1 | -0/+35 |
| | | | | | | | | | | | | | | CallExprs as those edges help cause a n^2 explosion in the number of destructor calls. Other consumers, such as static analysis, that would like to have more a more complete CFG can select the inclusion of those edges as CFG build time. This also fixes up the two compilation users of CFGs to be tolerant of having or not having those edges. All catch code is assumed be to live if we didn't generate the exceptional edges for CallExprs. llvm-svn: 94074 | ||||
| * | Match branch labels with the trailing colon so we don't accidentally match ↵ | Benjamin Kramer | 2010-01-21 | 1 | -66/+66 |
| | | | | | | | something else. llvm-svn: 94073 | ||||
| * | Also allow cast of block pointer type to | Fariborz Jahanian | 2010-01-21 | 1 | -0/+19 |
| | | | | | | | | pointer to an any object. Another variation of radar 7562285. llvm-svn: 94052 | ||||

