Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the Clang tblgen backends from LLVM. | Peter Collingbourne | 2011-10-06 | 1 | -378/+0 |
| | | | | llvm-svn: 141293 | ||||
* | Move TableGen's parser and entry point into a library | Peter Collingbourne | 2011-10-01 | 1 | -1/+1 |
| | | | | | | This is the first step towards splitting LLVM and Clang's tblgen executables. llvm-svn: 140951 | ||||
* | tblgen/ClangDiagnostics: Add support for split default warning "no-werror" and | Daniel Dunbar | 2011-09-29 | 1 | -1/+17 |
| | | | | | | "show-in-system-header" bits, which I will be adding in Clang shortly. llvm-svn: 140741 | ||||
* | Unconstify Inits | David Greene | 2011-07-29 | 1 | -3/+3 |
| | | | | | | Remove const qualifiers from Init references, per Chris' request. llvm-svn: 136531 | ||||
* | [AVX] Constify Inits | David Greene | 2011-07-29 | 1 | -3/+3 |
| | | | | | | | Make references to Inits const everywhere. This is the final step before making them unique. llvm-svn: 136485 | ||||
* | Revert r134921, 134917, 134908 and 134907. They're causing failures | Eric Christopher | 2011-07-11 | 1 | -5/+3 |
| | | | | | | in multiple buildbots. llvm-svn: 134936 | ||||
* | [AVX] Make Inits Foldable | David Greene | 2011-07-11 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | Manage Inits in a FoldingSet. This provides several benefits: - Memory for Inits is properly managed - Duplicate Inits are folded into Flyweights, saving memory - It enforces const-correctness, protecting against certain classes of bugs The above benefits allow Inits to be used in more contexts, which in turn provides more dynamism to TableGen. This enhanced capability will be used by the AVX code generator to a fold common patterns together. llvm-svn: 134907 | ||||
* | Update the Clang diagnostic emitter to emit IDs for diagnostic categories. | John McCall | 2011-06-15 | 1 | -1/+11 |
| | | | | | | Patch by Argyrios Kyrtzidis. llvm-svn: 133093 | ||||
* | [tablegen] A couple of changes to ClangDiagnosticEmmitter. | Argyrios Kyrtzidis | 2011-05-25 | 1 | -2/+4 |
| | | | | | | | -Emit an empty warning option as string ("") instead of 0. -For diagnostic names also emit the size of the string. llvm-svn: 132046 | ||||
* | Remove unused STL header includes. | Jay Foad | 2011-04-23 | 1 | -1/+0 |
| | | | | llvm-svn: 130068 | ||||
* | Initial work to improve documentation for Clang's diagnostics, from Matthieu ↵ | Douglas Gregor | 2011-04-15 | 1 | -1/+56 |
| | | | | | | Monrocq llvm-svn: 129613 | ||||
* | Wrap the struct in an anonymous namespace. | Argyrios Kyrtzidis | 2011-02-13 | 1 | -0/+2 |
| | | | | llvm-svn: 125452 | ||||
* | Clang: separate the access-control diagnostics from other diagnostics that ↵ | Douglas Gregor | 2011-01-27 | 1 | -1/+7 |
| | | | | | | do not have SFINAE behavior. llvm-svn: 124440 | ||||
* | eliminate the Records global variable, patch by Garrison Venn! | Chris Lattner | 2010-12-13 | 1 | -7/+9 |
| | | | | llvm-svn: 121659 | ||||
* | diaggroup categories should take precedence over diag-specific groups. | Chris Lattner | 2010-05-24 | 1 | -8/+9 |
| | | | | llvm-svn: 104567 | ||||
* | Update tablegen to generate shorts instead of chars for subgroup arrays. | Chandler Carruth | 2010-05-13 | 1 | -1/+1 |
| | | | | llvm-svn: 103704 | ||||
* | add the ability to associate 'category' names with clang diagnostics | Chris Lattner | 2010-05-04 | 1 | -3/+118 |
| | | | | | | | | | and diagnostic groups. This allows the compiler to group diagnostics together (e.g. "Logic Warning", "Format String Warning", etc) like the static analyzer does. This is not exposed through anything in the compiler yet. llvm-svn: 103050 | ||||
* | Add an extra newline to separate PP directives from the contents | Kovarththanan Rajaratnam | 2010-03-18 | 1 | -1/+1 |
| | | | | llvm-svn: 98820 | ||||
* | Use raw_ostream::write_escaped instead of EscapeString. | Daniel Dunbar | 2009-10-17 | 1 | -10/+6 |
| | | | | llvm-svn: 84356 | ||||
* | Replace std::iostreams with raw_ostream in TableGen. | Daniel Dunbar | 2009-07-03 | 1 | -3/+2 |
| | | | | | | | | - Sorry, I can't help myself. - No intended functionality change. llvm-svn: 74742 | ||||
* | Add output of the SFINAE bit for Clang's diagnostics | Douglas Gregor | 2009-06-14 | 1 | -0/+6 |
| | | | | llvm-svn: 73331 | ||||
* | prove diagnostic -> group mapping information. | Chris Lattner | 2009-04-16 | 1 | -1/+13 |
| | | | | llvm-svn: 69270 | ||||
* | encode subgroups into the clang .inc file. -Wall now works! | Chris Lattner | 2009-04-16 | 1 | -11/+30 |
| | | | | llvm-svn: 69257 | ||||
* | start producing subgroup info. | Chris Lattner | 2009-04-16 | 1 | -8/+31 |
| | | | | llvm-svn: 69249 | ||||
* | make sure that empty diag groups get known by clang. | Chris Lattner | 2009-04-15 | 1 | -2/+8 |
| | | | | llvm-svn: 69235 | ||||
* | implement support for writing out diagnostic group tables. | Chris Lattner | 2009-04-15 | 1 | -137/+51 |
| | | | | llvm-svn: 69219 | ||||
* | use UppercaseString instead of EmitAllCaps | Chris Lattner | 2009-04-15 | 1 | -16/+7 |
| | | | | llvm-svn: 69213 | ||||
* | use escape string. | Chris Lattner | 2009-04-15 | 1 | -13/+6 |
| | | | | llvm-svn: 69212 | ||||
* | rename -gen-clang-diags-options -> -gen-clang-diag-groups | Chris Lattner | 2009-04-15 | 1 | -1/+1 |
| | | | | llvm-svn: 69208 | ||||
* | don't infer diag class from parenting relations, make it an explicit field | Chris Lattner | 2009-04-15 | 1 | -15/+1 |
| | | | | | | in the record. llvm-svn: 69176 | ||||
* | include the default mapping in the clang diagnostic .inc files. | Chris Lattner | 2009-04-15 | 1 | -7/+2 |
| | | | | llvm-svn: 69173 | ||||
* | minor cleanups | Chris Lattner | 2009-04-15 | 1 | -17/+11 |
| | | | | llvm-svn: 69152 | ||||
* | Constify method to make VC++ happy. Patch by Brian Diekelman! | Ted Kremenek | 2009-04-01 | 1 | -2/+2 |
| | | | | llvm-svn: 68222 | ||||
* | fix a few spelling errors and typos | Jim Grosbach | 2009-03-26 | 1 | -1/+1 |
| | | | | llvm-svn: 67758 | ||||
* | Add sanity check in Clang TableGen backend to check if 'Component' is a string. | Ted Kremenek | 2009-03-23 | 1 | -1/+1 |
| | | | | llvm-svn: 67565 | ||||
* | Fix regression in 'tblgen -gen-clang-diags-defs': Emit the diagnostic kind ↵ | Ted Kremenek | 2009-03-19 | 1 | -1/+2 |
| | | | | | | instead of "DIAGNOSTICCONTROLLED". llvm-svn: 67305 | ||||
* | tblgen -gen-clang-diags-options: Output OptionTable entries in lexicographic | Ted Kremenek | 2009-03-18 | 1 | -7/+19 |
| | | | | | | order. llvm-svn: 67244 | ||||
* | 'tblgen -gen-clang-diags-options' now outputs the OptionTable: | Ted Kremenek | 2009-03-18 | 1 | -5/+19 |
| | | | | | | | | | | | static const WarningOption OptionTable[] = { {"unused-macros", DIAGS(UnusedMacrosDiags)} ... }; This table is not yet properly sorted. llvm-svn: 67242 | ||||
* | Add another Clang TableGen-backend (-gen-clang-diags-options) for emitting | Ted Kremenek | 2009-03-18 | 1 | -0/+101 |
| | | | | | | | | | | | | declarations for controlling groups of warnings. Currently this transforms: def UnusedMacrosDiags : Option<"unused-macros", [pp_macro_not_used]>; into: static const diag::kind UnusedMacrosDiags[] = { diag::pp_macro_not_used }; llvm-svn: 67239 | ||||
* | Add (hidden) TableGen command option '-clang-component' which specifies the | Ted Kremenek | 2009-03-13 | 1 | -9/+33 |
| | | | | | | | | | component's warnings to process for '-gen-clang-diags-defs'. Also, when the component is specified, generate a '#if' prologue at the top of the generated .def file (to match the current files). llvm-svn: 66975 | ||||
* | Add initial implementation of a TableGen backend for converting Clang-warnings | Ted Kremenek | 2009-03-13 | 1 | -0/+84 |
tablegen files to the original .def preprocessor include files. This is my first TableGen backend; I don't claim that it is awesome. llvm-svn: 66971 |