aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/Syntax/BuildTree.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2021-02-17 19:36:49 +0100
committerAlex Zinenko <zinenko@google.com>2021-02-18 09:44:40 +0100
commit12875ed97607648b92595b7bf9a8ede550b25342 (patch)
tree57eaa4858acb95a312ad1c1f39e015c9dc2ae09a /clang/lib/Tooling/Syntax/BuildTree.cpp
parent5260873c3bda20b569e3697f74a3d574bea2ef35 (diff)
downloadllvm-12875ed97607648b92595b7bf9a8ede550b25342.zip
llvm-12875ed97607648b92595b7bf9a8ede550b25342.tar.gz
llvm-12875ed97607648b92595b7bf9a8ede550b25342.tar.bz2
[mlir] generate enum translation functions with unused attribute
The functions translating enums to LLVM IR are generated in a single file included in many places, not all of which use all translations. Generate functions with "unused" attribute to silence compiler warnings. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D96880
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions