summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/ASTTableGen.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability for properties to be conditional on other properties.John McCall2019-12-161-0/+6
| | | | This will be required by TemplateName.
* Add the ability to declare helper variables when readingJohn McCall2019-12-161-3/+28
| | | | | | | properties from a value. This is useful when the properties of a case are actually read out of a specific structure, as with TemplateName.
* Add the ability to use property-based serialization for "cased" types.John McCall2019-12-161-15/+122
| | | | | | This patch doesn't actually use this serialization for anything, but follow-ups will move the current handling of various standard types over to this.
* Abstract serialization: TableGen "basic" reader/writer CRTPJohn McCall2019-12-141-1/+170
| | | | classes that serialize basic values
* Enable better node-hierarchy metaprogramming; NFC.John McCall2019-12-141-11/+51
|
* Extract out WrappedRecord as a convenience base class; NFC.John McCall2019-12-141-21/+30
|
* Introduce some types and functions to make it easier to work withJohn McCall2019-12-141-3/+110
| | | | | | | | | | | | the tblgen AST node hierarchies. Not totally NFC because both of the emitters now emit in a different order. The type-nodes emitter now visits nodes in hierarchy order, which means we could use range checks in classof if we had any types that would benefit from that; currently we do not. The AST-nodes emitter now uses a multimap keyed by the name of the record; previously it was using `Record*`, which of couse isn't stable across processes and may have led to non-reproducible builds in some circumstances.
* [NFC] Rename ClangASTEmitters.h -> ASTTableGen.hJohn McCall2019-12-141-0/+39
OpenPOWER on IntegriCloud