diff options
author | Tyker <tyker1@outlook.com> | 2020-02-02 14:46:50 +0100 |
---|---|---|
committer | Tyker <tyker1@outlook.com> | 2020-02-02 15:12:20 +0100 |
commit | cfe87a4a16b73652dc06f9fa334137656991f13f (patch) | |
tree | 201438bd0dfb8fcd3c2b39e88c49543cbd12684d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 89d3b070c1ee305fc6e1f397ef64c0b7a8f2f83d (diff) | |
download | llvm-cfe87a4a16b73652dc06f9fa334137656991f13f.zip llvm-cfe87a4a16b73652dc06f9fa334137656991f13f.tar.gz llvm-cfe87a4a16b73652dc06f9fa334137656991f13f.tar.bz2 |
[NFC] Refactor TableGen for attributes
Summary:
this patch makes tablegen generate llvm attributes in a more generic and simpler (at least to me).
changes: make tablegen generate
...
ATTRIBUTE_ENUM(Alignment,align)
ATTRIBUTE_ENUM(AllocSize,allocsize)
...
which can be used to generate most of what was previously used and more.
Tablegen was also generating attributes from 2 identical files leading to identical output. so I removed one of them and made user use the other.
Reviewers: jdoerfert, thakis, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72455
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions