| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't print a stray ] at the end of diagnostics. | Benjamin Kramer | 2011-09-26 | 1 | -3/+4 |
| | | | | | | | Also remove an obsolete utostr call. llvm-svn: 140511 | ||||
| * | Move VTable builder to AST | Peter Collingbourne | 2011-09-26 | 4 | -2707/+2406 |
| | | | | | llvm-svn: 140510 | ||||
| * | Have CodeGenVTables::GenerateConstructionVTable use VTableLayout | Peter Collingbourne | 2011-09-26 | 2 | -18/+14 |
| | | | | | llvm-svn: 140509 | ||||
| * | Move vtable dumper call to VTableBuilder ctor | Peter Collingbourne | 2011-09-26 | 1 | -12/+3 |
| | | | | | llvm-svn: 140508 | ||||
| * | Implement VTableContext::createConstructionVTableLayout | Peter Collingbourne | 2011-09-26 | 2 | -10/+29 |
| | | | | | llvm-svn: 140507 | ||||
| * | Move all vtable layout data into new VTableLayout class | Peter Collingbourne | 2011-09-26 | 5 | -118/+150 |
| | | | | | llvm-svn: 140506 | ||||
| * | Move VTableComponent to header file | Peter Collingbourne | 2011-09-26 | 2 | -167/+167 |
| | | | | | llvm-svn: 140505 | ||||
| * | Move vtable component accessors to VTableContext | Peter Collingbourne | 2011-09-26 | 5 | -97/+110 |
| | | | | | llvm-svn: 140504 | ||||
| * | Remove CodeGenVTables::ComputeVTableRelatedInformation dependency on CodeGen | Peter Collingbourne | 2011-09-26 | 3 | -33/+26 |
| | | | | | llvm-svn: 140503 | ||||
| * | Create a VTableContext class and start moving CodeGenVTables methods to it | Peter Collingbourne | 2011-09-26 | 8 | -52/+70 |
| | | | | | llvm-svn: 140502 | ||||
| * | Move VTT builder to AST | Peter Collingbourne | 2011-09-26 | 3 | -337/+214 |
| | | | | | llvm-svn: 140501 | ||||
| * | Move BaseSubobject class to AST | Peter Collingbourne | 2011-09-26 | 1 | -66/+1 |
| | | | | | llvm-svn: 140500 | ||||
| * | Remove CodeGenModule field from VTTBuilder | Peter Collingbourne | 2011-09-26 | 1 | -11/+11 |
| | | | | | llvm-svn: 140499 | ||||
| * | Make the VTTBuilder class independent of LLVM core | Peter Collingbourne | 2011-09-26 | 2 | -95/+129 |
| | | | | | llvm-svn: 140498 | ||||
| * | Remove support for splitting word-wrapped diagnostic messages on newline | Chandler Carruth | 2011-09-26 | 1 | -18/+2 |
| | | | | | | | | | | | | | characters. I could find no newline character in a diagnostic message, and adding an assert to this code never fires in the testsuite. I think this code is essentially dead, and was previously used for a different purpose. If I just don't understand how it is we can end up with a newline here please let me know (with a test case?) and I'll revert. llvm-svn: 140497 | ||||
| * | Move the word wrapped printing routine down to all the other helper | Chandler Carruth | 2011-09-26 | 1 | -82/+77 |
| | | | | | | | | printing routines, clean up its doxyments and switch it to a camelCase name as well. No functionality changed here. llvm-svn: 140496 | ||||
| * | Switch some of my recently added helper functions to use the proper | Chandler Carruth | 2011-09-26 | 1 | -6/+19 |
| | | | | | | | style, and add doxyments. llvm-svn: 140495 | ||||
| * | Rewrite the printing of diagnostic options, categories, etc to actually | Chandler Carruth | 2011-09-26 | 1 | -35/+29 |
| | | | | | | | use the ostream interface and avoid lots of temporary strings. llvm-svn: 140494 | ||||
| * | Rename DiagnosticInfo to Diagnostic as per issue 5397 | David Blaikie | 2011-09-26 | 11 | -21/+21 |
| | | | | | llvm-svn: 140493 | ||||
| * | Rename PathDiagnosticClient to PathDiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-26 | 8 | -38/+40 |
| | | | | | llvm-svn: 140492 | ||||
| * | Delete an extraneous line I missed. | Chandler Carruth | 2011-09-26 | 1 | -1/+0 |
| | | | | | llvm-svn: 140491 | ||||
| * | A direct extraction of the rest of the option printing into a helper. | Chandler Carruth | 2011-09-26 | 1 | -51/+57 |
| | | | | | | | This needs to be cleaned up to better use the ostream object, WIP. llvm-svn: 140490 | ||||
| * | Rename VerifyDiagnosticsClient to VerifyDiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-26 | 3 | -11/+11 |
| | | | | | llvm-svn: 140489 | ||||
| * | Start a more correct pattern for factoring out the name printing. Slowly | Chandler Carruth | 2011-09-26 | 1 | -7/+10 |
| | | | | | | | | I'm planning to switch a bunch of these over to use a raw_ostream instead of += on a string object. llvm-svn: 140488 | ||||
| * | Revert r140484. That was *not* ready to be committed! Only halfway done, | Chandler Carruth | 2011-09-26 | 1 | -39/+34 |
| | | | | | | | | | and completely broken at that. Sorry, must remember to stash rather than commit. =] llvm-svn: 140487 | ||||
| * | Fix a formatting goof. | Chandler Carruth | 2011-09-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 140486 | ||||
| * | Rename ChainedDiagnosticClient to ChainedDiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-26 | 1 | -3/+3 |
| | | | | | llvm-svn: 140485 | ||||
| * | Extract the diagnostic message formatting into a helper routine. | Chandler Carruth | 2011-09-26 | 1 | -34/+39 |
| | | | | | llvm-svn: 140484 | ||||
| * | Rename StoredDiagnosticClient to StoredDiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-26 | 1 | -6/+6 |
| | | | | | llvm-svn: 140483 | ||||
| * | Rename CaptureDiagnosticClient to CaptureDiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-25 | 1 | -4/+4 |
| | | | | | llvm-svn: 140482 | ||||
| * | Extract the logic for printing a colorful level name into a helper | Chandler Carruth | 2011-09-25 | 1 | -21/+28 |
| | | | | | | | function. llvm-svn: 140481 | ||||
| * | Rename IgnoringDiagClient to IgnoringDiagConsumer as per issue 5397 | David Blaikie | 2011-09-25 | 1 | -3/+3 |
| | | | | | llvm-svn: 140480 | ||||
| * | Rename DiagnosticClient to DiagnosticConsumer as per issue 5397 | David Blaikie | 2011-09-25 | 10 | -34/+34 |
| | | | | | llvm-svn: 140479 | ||||
| * | Rename Diagnostic to DiagnosticsEngine as per issue 5397 | David Blaikie | 2011-09-25 | 62 | -300/+319 |
| | | | | | llvm-svn: 140478 | ||||
| * | Inline this method now that its completely trivial, and prepare for | Chandler Carruth | 2011-09-25 | 1 | -18/+9 |
| | | | | | | | hoisting parts of the text diagnostic. llvm-svn: 140477 | ||||
| * | Shuffle some names around. 'CaretDiagnostic' is inaccurate as this needs | Chandler Carruth | 2011-09-25 | 1 | -18/+21 |
| | | | | | | | | to handle non-caret diagnostics as well in order to be fully useful in libclang etc. Also sketch out some more of my plans on this refactoring. llvm-svn: 140476 | ||||
| * | Actually remove the members of CaretDiagnostic no longer in use for | Chandler Carruth | 2011-09-25 | 1 | -10/+6 |
| | | | | | | | | | tracking the start and stop of macro expansion suppression. Also remove the Columns variable which was just a convenience variable based on DiagOpts. Instead we materialize it in the one piece of code that cared. llvm-svn: 140475 | ||||
| * | Sink the logic for suppressing some macro expansion notes from the | Chandler Carruth | 2011-09-25 | 1 | -41/+29 |
| | | | | | | | | | | | | | | | | | TextDiagnosticPrinter into the CaretDiagnostic class. Several interesting results from this: - This removes a significant per-diagnostic bit of state from the CaretDiagnostic class, which should eventually allow us to re-use the object. - It removes a redundant recursive walk of the macro expansion stack just to compute the depth. We don't need the depth until we're unwinding anyways, so we can just mark when we reach it. - It also paves the way for several simplifications we can do to how we implement the suppression. llvm-svn: 140474 | ||||
| * | Split the recursive macro expansion walk out from the routine which | Chandler Carruth | 2011-09-25 | 1 | -58/+71 |
| | | | | | | | emits a source snippet and caret line. llvm-svn: 140467 | ||||
| * | Add a missing increment to avoid infinite looping in the regression test. | Benjamin Kramer | 2011-09-25 | 1 | -1/+4 |
| | | | | | | | Also make sure we set the error flag when correcting a typo. llvm-svn: 140466 | ||||
| * | Update CMake build. | Benjamin Kramer | 2011-09-24 | 1 | -0/+1 |
| | | | | | llvm-svn: 140462 | ||||
| * | Add a special note for overload resolution when an initializer list argument | Sebastian Redl | 2011-09-24 | 1 | -0/+11 |
| | | | | | | | | | | cannot be converted. This is in preparation for overload resolution of initializer lists. Currently, you will always get this message when you try to pass an init list to an overloaded function. llvm-svn: 140461 | ||||
| * | Correctly parse braced member initializers (even in delayed parsing) and ↵ | Sebastian Redl | 2011-09-24 | 6 | -135/+279 |
| | | | | | | | | | | | | correctly pass the information on to Sema. There's still an incorrectness in the way template instantiation works now, but that is due to a far larger underlying representational problem. Also add a test case for various list initialization cases of scalars, which test this commit as well as the previous one. llvm-svn: 140460 | ||||
| * | Treat list-initialization of scalars as a first-class citizen in C++11. | Sebastian Redl | 2011-09-24 | 3 | -10/+61 |
| | | | | | | | | | | Allow empty initializer lists for scalars, which mean value-initialization. Constant evaluation for single-element and empty initializer lists for scalars. Codegen for empty initializer lists for scalars. Test case comes in next commit. llvm-svn: 140459 | ||||
| * | Give InitListChecker a verification-only mode, where it neither emits ↵ | Sebastian Redl | 2011-09-24 | 3 | -238/+357 |
| | | | | | | | | | | | | diagnostics nor builds a semantic (structured) initializer list, just reports on whether it can match the given list to the target type. Use this mode for doing init list checking in the initial step of initialization, which will eventually allow us to do overload resolution based on the outcome. llvm-svn: 140457 | ||||
| * | In Initialization, add step kind SK_ListConstructorCall (list-initialization | Sebastian Redl | 2011-09-24 | 1 | -5/+21 |
| | | | | | | | | resolves to a constructor call in C++11) and failure kind FK_ListInitializationFailed (early InitListChecker run failed). llvm-svn: 140456 | ||||
| * | Inline Sema::CheckInitList into its only user. | Sebastian Redl | 2011-09-24 | 1 | -11/+4 |
| | | | | | llvm-svn: 140455 | ||||
| * | Fix typos and non-doxygen-ness in a few comments. | Sebastian Redl | 2011-09-24 | 1 | -4/+2 |
| | | | | | llvm-svn: 140454 | ||||
| * | [microsoft] In Microsoft mode, if we are inside a template class member ↵ | Francois Pichet | 2011-09-24 | 1 | -0/+10 |
| | | | | | | | | | | function and we can't resolve an identifier then assume the identifier is type dependent. The goal is to postpone name lookup to instantiation time to be able to search into type dependent base classes. This fixes a few errors when parsing MFC code with clang. BTW clang trunk is now about 5 patches away to be able the parse the default wizard-generated MFC project. llvm-svn: 140452 | ||||
| * | Fix comment typo. | Benjamin Kramer | 2011-09-24 | 1 | -1/+1 |
| | | | | | | | Patch by Rui Paulo! llvm-svn: 140448 | ||||

