summaryrefslogtreecommitdiffstats
path: root/clang/utils/TableGen/ASTTableGen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to use property-based serialization for "cased" types.John McCall2019-12-161-0/+10
| | | | | | 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-0/+20
| | | | classes that serialize basic values
* Enable better node-hierarchy metaprogramming; NFC.John McCall2019-12-141-29/+11
|
* Introduce some types and functions to make it easier to work withJohn McCall2019-12-141-0/+130
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.
OpenPOWER on IntegriCloud