diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-12-11 18:50:04 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-12-11 22:38:48 +0000 |
commit | aadcb26ee1650de8eaddc5a141c4302691c446a1 (patch) | |
tree | 96c693a12ec0b00b8a5b7c727659f02bfb7b1ff3 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 9ab6c1a99f82fa13017ddccc606eecfe24e92043 (diff) | |
download | llvm-aadcb26ee1650de8eaddc5a141c4302691c446a1.zip llvm-aadcb26ee1650de8eaddc5a141c4302691c446a1.tar.gz llvm-aadcb26ee1650de8eaddc5a141c4302691c446a1.tar.bz2 |
Store a MlirIdentifier instead of a MlirStringRef in MlirNameAttribute
This mirror the C++ API for NamedAttribute, and has the advantage or
internalizing earlier in the Context and not requiring the caller to
keep the StringRef alive beyong this call.
Differential Revision: https://reviews.llvm.org/D93133
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions