summaryrefslogtreecommitdiff
path: root/clang/utils/TableGen/ASTTableGen.cpp
AgeCommit message (Collapse)Author
2024-11-17[NFC][Clang][TableGen] Fix file header comments (#116491)Rahul Joshi
2024-11-14[TableGen] Remove unused includes (NFC) (#116168)Kazu Hirata
Identified with misc-include-cleaner.
2024-09-16[NFC][clang][TableGen] Remove redundant llvm:: namespace qualifier (#108627)Rahul Joshi
Remove llvm:: from .cpp files, and add "using namespace llvm" if needed.
2024-09-11[clang][TableGen] Change ASTTableGen to use const Record pointers (#108193)Rahul Joshi
Change ASTTableGen to use const Record pointers. This is a part of effort to have better const correctness in TableGen backends: https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089
2023-12-13[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)Kazu Hirata
This patch replaces uses of StringRef::{starts,ends}with with StringRef::{starts,ends}_with for consistency with std::{string,string_view}::{starts,ends}_with in C++20. I'm planning to deprecate and eventually remove StringRef::{starts,ends}with.
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata
This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to remove #include "llvm/ADT/Optional.h". This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata
This patch adds #include <optional> to those files containing llvm::Optional<...> or Optional<...>. I'll post a separate patch to actually replace llvm::Optional with std::optional. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2021-11-24[NFC][clang]Inclusive language: remove remaining uses of sanityZarko Todorovski
Missed some uses of sanity check in previous commits.
2019-12-16Add the ability to use property-based serialization for "cased" types.John McCall
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.
2019-12-14Abstract serialization: TableGen "basic" reader/writer CRTPJohn McCall
classes that serialize basic values
2019-12-14Enable better node-hierarchy metaprogramming; NFC.John McCall
2019-12-14Introduce some types and functions to make it easier to work withJohn McCall
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.