diff options
author | River Riddle <riddleriver@gmail.com> | 2021-11-18 05:23:32 +0000 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2021-11-18 05:39:29 +0000 |
commit | 0c7890c844fdc7adb6d0cf58403e3fdd7407915d (patch) | |
tree | 4bb3f125001d5871041f38bff52898e51c89cebe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4a8734deb7d54cf15f28b87cdb8a4f601852c10d (diff) | |
download | llvm-0c7890c844fdc7adb6d0cf58403e3fdd7407915d.zip llvm-0c7890c844fdc7adb6d0cf58403e3fdd7407915d.tar.gz llvm-0c7890c844fdc7adb6d0cf58403e3fdd7407915d.tar.bz2 |
[mlir] Convert NamedAttribute to be a class
NamedAttribute is currently represented as an std::pair, but this
creates an extremely clunky .first/.second API. This commit
converts it to a class, with better accessors (getName/getValue)
and also opens the door for more convenient API in the future.
Differential Revision: https://reviews.llvm.org/D113956
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions